File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ jobs:
9393 run : make nvim-treesitter
9494
9595 - name : Parsers Cache
96+ id : parsers-cache
9697 uses : actions/cache@v4
9798 with :
98- path : . /nvim-treesitter/parser/
99+ path : deps /nvim-treesitter-data
99100 key : parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
100- ' ./nvim-treesitter/lockfile.json' ,
101- ' ./nvim-treesitter/lua/nvim-treesitter/install.lua' ,
102- ' ./nvim-treesitter/lua/nvim-treesitter/parsers.lua' ) }}
101+ ' ./deps/nvim-treesitter/lua/nvim-treesitter/parsers.lua' ) }}
103102
104103 - name : Install parsers
104+ if : steps.parsers-cache.outputs.cache-hit != 'true'
105105 run : make parsers
106106
107107 - name : Run Test
Original file line number Diff line number Diff line change @@ -36,13 +36,15 @@ jobs:
3636 run : make nvim-treesitter
3737
3838 - name : Parsers Cache
39+ id : parsers-cache
3940 uses : actions/cache@v4
4041 with :
41- path : . /nvim-treesitter/parser/
42+ path : deps /nvim-treesitter-data
4243 key : parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
4344 ' ./deps/nvim-treesitter/lua/nvim-treesitter/parsers.lua' ) }}
4445
4546 - name : Install parsers
47+ if : steps.parsers-cache.outputs.cache-hit != 'true'
4648 run : make parsers
4749
4850 - name : Run Test
You can’t perform that action at this time.
0 commit comments