aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-05-13 14:30:27 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-05-13 18:12:58 +0200
commit6b55bc0fab46be886ee81764228ddd8146dcbf9d (patch)
tree6b4cb08dabc6b331efc18142b00b0c10f262774a /.github
parentdocs: update to rewrite (diff)
downloadnvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar.gz
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar.bz2
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar.lz
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar.xz
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.tar.zst
nvim-treesitter-6b55bc0fab46be886ee81764228ddd8146dcbf9d.zip
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).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test-core.yml20
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