aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index da5fcab33..3c4808bb1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -36,6 +36,10 @@ jobs:
run: |
nvim --headless -c "TSInstallSync all" -c "q"
+ - name: Check query files (Unix)
+ if: matrix.os != 'windows-latest'
+ run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
+
- name: Compile parsers Windows
if: matrix.os == 'windows-latest'
run: |
@@ -46,6 +50,10 @@ jobs:
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
shell: bash
+ - name: Check query files (Windows)
+ if: matrix.os != 'windows-latest'
+ run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
+
- uses: actions/upload-artifact@v2
with:
name: parsers-${{ matrix.os }}-${{ matrix.cc }}-x86_64