aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-04-22 19:56:30 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit214cfcf851d95a4c4f2dc7526b95ce9d31c88a76 (patch)
tree8767ed993c7cd6d72a05fe64b46b9835c943c221 /.github/workflows/tests.yml
parentfeat!: track parser revision in Lua (diff)
downloadnvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar.gz
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar.bz2
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar.lz
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar.xz
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.tar.zst
nvim-treesitter-214cfcf851d95a4c4f2dc7526b95ce9d31c88a76.zip
feat!: use tree-sitter build
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml14
1 files changed, 4 insertions, 10 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f78afe711..7a946377c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -20,12 +20,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
- cc: [gcc]
name: Run tests
runs-on: ${{ matrix.os }}
- env:
- CC: ${{ matrix.cc }}
steps:
- uses: actions/checkout@v4
- uses: tree-sitter/setup-action/cli@v1
@@ -50,16 +47,13 @@ jobs:
uses: actions/cache@v4
with:
path: |
- ./parser/
- ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/
+ ~/.local/share/nvim/site/parser/
+ ~/AppData/Local/nvim-data/site/parser/
key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
- './lockfile.json',
'./lua/nvim-treesitter/install.lua',
- './lua/nvim-treesitter/parsers.lua',
- './lua/nvim-treesitter/shell_selectors.lua') }}
+ './lua/nvim-treesitter/parsers.lua') }}
- - name: Compile parsers Unix like
- if: ${{ runner.os != 'Windows' && steps.parsers-cache.outputs.cache-hit != 'true' }}
+ - name: Compile parsers
run: nvim -l ./scripts/install-parsers.lua
- name: Tests