aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test-queries.yml6
-rw-r--r--.github/workflows/tests.yml6
2 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml
index e1606f2fc..6b7772201 100644
--- a/.github/workflows/test-queries.yml
+++ b/.github/workflows/test-queries.yml
@@ -74,7 +74,11 @@ jobs:
path: |
./parser/
~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/
- key: ${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.nvim_tag }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_command_selectors.lua') }}
+ key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
+ './lockfile.json',
+ './lua/nvim-treesitter/install.lua',
+ './lua/nvim-treesitter/parsers.lua',
+ './lua/nvim-treesitter/shell_command_selectors.lua') }}
- name: Compile parsers
run: $NVIM --headless -c "lua require'nvim-treesitter.install'.prefer_git=false" -c "TSInstallSync all" -c "q"
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b3858b5de..8d71edeb0 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -53,7 +53,11 @@ jobs:
path: |
./parser/
~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/
- key: ${{ matrix.os }}-${{ matrix.cc }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_selectors.lua') }}
+ key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
+ './lockfile.json',
+ './lua/nvim-treesitter/install.lua',
+ './lua/nvim-treesitter/parsers.lua',
+ './lua/nvim-treesitter/shell_selectors.lua') }}
- name: Compile parsers Unix like
if: ${{ runner.os != 'Windows' && steps.parsers-cache.outputs.cache-hit != 'true' }}