diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test-core.yml | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml index 05f8078ce..0c0ae594c 100644 --- a/.github/workflows/test-core.yml +++ b/.github/workflows/test-core.yml @@ -31,26 +31,14 @@ jobs: run: | bash ./scripts/ci-install.sh - - if: inputs.type == 'generate' - name: Generate and compile parsers - run: $NVIM -l ./scripts/install-parsers.lua --generate --max-jobs=2 - - - if: inputs.type == 'build' - name: Setup Parsers Cache - id: parsers-cache - uses: actions/cache@v4 - with: - path: | - ~/.local/share/nvim/site/parser/ - ~/AppData/Local/nvim-data/site/parser/ - key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles( - './lua/nvim-treesitter/install.lua', - './lua/nvim-treesitter/parsers.lua') }} - - if: inputs.type == 'build' name: Compile parsers run: $NVIM -l ./scripts/install-parsers.lua + - if: inputs.type == 'generate' + name: Generate and compile parsers + run: $NVIM -l ./scripts/install-parsers.lua --generate --max-jobs=2 + - name: Check parsers run: $NVIM -l ./scripts/check-parsers.lua |
