Skip to content

Commit 1477ad4

Browse files
committed
workflow updates
1 parent e038c0d commit 1477ad4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: unit tests
88
runs-on: ${{ matrix.os }}
99
env:
10-
NVIM_TS_DIR: "${HOME}/.local/share/nvim/site/pack/vendor/start/nvim-treesitter"
10+
NVIM_TS_DIR: .test-deps/nvim-treesitter
1111
strategy:
1212
fail-fast: false
1313
matrix:
@@ -52,6 +52,12 @@ jobs:
5252
git clone --depth 1 -b main https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
5353
git clone --depth 1 https://github.com/ray-x/guihua.lua ~/.local/share/nvim/site/pack/vendor/start/guihua.lua
5454
ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
55+
- name: Install nvim-treesitter
56+
uses: actions/checkout@v4
57+
with:
58+
repository: nvim-treesitter/nvim-treesitter
59+
ref: main
60+
path: ${{ env.NVIM_TS_DIR }}
5561
- name: Setup Parsers cache
5662
id: parsers-cache
5763
uses: actions/cache@v4

0 commit comments

Comments
 (0)