From 6b55bc0fab46be886ee81764228ddd8146dcbf9d Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 13 May 2025 14:30:27 +0200 Subject: ci(test): remove parser cache Since installation now installs parsers _and_ queries, caching parsers doesn't allow skipping the installation step (and caching queries does not pay off). --- .github/workflows/test-core.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to '.github') 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 -- cgit v1.2.3-70-g09d2