@@ -3,19 +3,8 @@ name: CI
33on :
44 push :
55 branches : [main]
6- paths :
7- - grammar.js
8- - src/**
9- - test/**
10- - bindings/**
11- - binding.gyp
126 pull_request :
13- paths :
14- - grammar.js
15- - src/**
16- - test/**
17- - bindings/**
18- - binding.gyp
7+ workflow_dispatch :
198
209concurrency :
2110 group : ${{github.workflow}}-${{github.ref}}
@@ -28,20 +17,19 @@ jobs:
2817 strategy :
2918 fail-fast : false
3019 matrix :
31- os : [ubuntu-latest, windows-latest, macos-14 ]
20+ os : [ubuntu-latest, windows-latest, macos-latest ]
3221 steps :
3322 - name : Checkout repository
3423 uses : actions/checkout@v4
35- - name : Install tree-sitter CLI
36- uses : tree-sitter/setup-action/cli@v1
24+
25+ - name : Set up tree-sitter
26+ uses : tree-sitter/setup-action@v2
27+ with :
28+ install-lib : false
29+
3730 - name : Run tests
3831 uses : tree-sitter/parser-test-action@v2
39- with :
40- test-rust : ${{runner.os == 'Linux'}}
41- test-node : true
42- test-python : true
43- test-go : true
44- test-swift : ${{runner.os == 'macOS'}}
32+
4533 - name : Clone apisix corpus
4634 uses : actions/checkout@v4
4735 with :
5947 with :
6048 path : examples/lua
6149 repository : lua/lua
50+ ref : e05590591410a5e007a1e3f1691f6c1cf9d8fe45
6251 sparse-checkout : testes/
6352 - name : Clone luvit corpus
6453 uses : actions/checkout@v4
8170 with :
8271 path : examples/xmake
8372 repository : xmake-io/xmake
73+
8474 - name : Parse examples
8575 uses : tree-sitter/parse-action@v4
8676 with :
9787 !examples/lua/testes/db.lua
9888 invalid-files : |-
9989 examples/neovim/test/functional/fixtures/lua/syntax_error.lua
100- # FIXME: neovim/neovim#30882
101- examples/neovim/runtime/lua/vim/_meta/vimfn.lua
10290
10391 fuzz :
10492 runs-on : ubuntu-latest
0 commit comments