aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index b73f03cf8..7123332b7 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -36,15 +36,16 @@ jobs:
format-queries:
name: Lint queries
runs-on: ubuntu-latest
+ env:
+ NVIM_TAG: stable
steps:
- uses: actions/checkout@v4
- name: Prepare
run: |
- wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
- tar -zxf nvim-linux64.tar.gz
- sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin
+ bash ./scripts/ci-install.sh
- name: Lint
run: |
+ nvim --headless -c "TSInstallSync query" -c "q"
nvim -l scripts/format-queries.lua
git diff --exit-code