diff options
| author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2021-10-18 14:04:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-18 14:04:54 +0200 |
| commit | c87e2fec9f54a438ddfd50642426a2dd628de180 (patch) | |
| tree | 3970936cb1227ccfde5a809f3e6fdb30d5a1aa3e /.github/workflows/metadata-diff.yml | |
| parent | sort :LspInstall, :LspUninstall completion items (diff) | |
| download | mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar.gz mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar.bz2 mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar.lz mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar.xz mason-c87e2fec9f54a438ddfd50642426a2dd628de180.tar.zst mason-c87e2fec9f54a438ddfd50642426a2dd628de180.zip | |
feat: autogen metadata table(s) (#159)
Co-authored-by: William Boman <william@redwill.se>
Diffstat (limited to '.github/workflows/metadata-diff.yml')
| -rw-r--r-- | .github/workflows/metadata-diff.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/metadata-diff.yml b/.github/workflows/metadata-diff.yml new file mode 100644 index 00000000..9be6f3c2 --- /dev/null +++ b/.github/workflows/metadata-diff.yml @@ -0,0 +1,29 @@ +name: Metadata diff checker + +on: + schedule: + - cron: '0 * * * *' + push: + branches: + - 'main' + pull_request: + +jobs: + metadata-diff-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: rhysd/action-setup-vim@v1 + with: + neovim: true + version: v0.5.1 + - name: Clone latest lspconfig + run: | + mkdir -p ~/.local/share/nvim/site/pack/packer/start + git clone --depth 1 https://github.com/neovim/nvim-lspconfig ~/.local/share/nvim/site/pack/packer/start/nvim-lspconfig + - name: Run autogen_metadata.sh script + run: ./scripts/autogen_metadata.sh + - name: Ensure there are no diffs + run: | + git update-index --refresh + git diff-index --quiet HEAD -- |
