summaryrefslogtreecommitdiff
path: root/.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml
diff options
context:
space:
mode:
Diffstat (limited to '.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml')
-rw-r--r--.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml b/.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml
new file mode 100644
index 0000000..48219bc
--- /dev/null
+++ b/.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml
@@ -0,0 +1,34 @@
+name: update-settings
+
+on:
+ push:
+ branches: [ master ]
+ schedule:
+ - cron: '0 * * * *'
+
+jobs:
+ main:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with: { ref: master }
+ - uses: actions/setup-node@v1
+ with: { node-version: '12' }
+ - run: ./scripts/update-commands.js
+ - run: ./scripts/update-options.js
+ - run: ./scripts/update-options-interface.js
+ - run: ./scripts/update-snippets.js
+ - run: ./scripts/update-tables.sh
+ - run: git diff
+ - run: yarn --frozen-lockfile
+ - run: yarn build
+ - run: yarn lint
+ - run: yarn test
+ - uses: EndBug/add-and-commit@v5
+ with:
+ push: true
+ author_name: Github Action
+ author_email: josa@gesell.me
+ message: '[auto] Update Settings'
+ env:
+ GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'