File tree Expand file tree Collapse file tree 6 files changed +1273
-0
lines changed
Expand file tree Collapse file tree 6 files changed +1273
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ cooldown :
8+ default-days : 3
9+ commit-message :
10+ prefix : " ci"
11+ labels :
12+ - " CI"
13+ groups :
14+ actions :
15+ patterns : ["*"]
16+
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ concurrency :
11+ group : ${{github.workflow}}-${{github.ref}}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ test :
16+ name : Test parser
17+ runs-on : ${{matrix.os}}
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ os : [ubuntu-latest, windows-latest, macos-latest]
22+ steps :
23+ - name : Set up repository
24+ uses : actions/checkout@v6
25+
26+ - name : Set up tree-sitter
27+ uses : tree-sitter/setup-action/cli@v2
28+
29+ - name : Run tests
30+ uses : tree-sitter/parser-test-action@v2
31+
32+ query :
33+ name : Validate queries
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Set up repository
37+ uses : actions/checkout@v6
38+
39+ - name : Set up tree-sitter
40+ uses : tree-sitter/setup-action/cli@v2
41+
42+ - name : Build parser
43+ run : tree-sitter build
44+
45+ - name : Set up ts_query_ls
46+ run : curl -fL https://github.com/ribru17/ts_query_ls/releases/latest/download/ts_query_ls-x86_64-unknown-linux-gnu.tar.gz | tar -xz
47+
48+ - name : Check queries
49+ run : ./ts_query_ls check -f queries/vue
Original file line number Diff line number Diff line change 1+ name : Fuzz Parser
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - src/scanner.c
8+ pull_request :
9+ paths :
10+ - src/scanner.c
11+ workflow_dispatch :
12+
13+ jobs :
14+ fuzz :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v6
19+ - name : Run fuzzer
20+ uses : tree-sitter/fuzz-action@v4
Original file line number Diff line number Diff line change 1+ name : Create release
2+
3+ on :
4+ push :
5+ tags : ["*"]
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : ${{github.workflow}}-${{github.ref}}
10+ cancel-in-progress : true
11+
12+ permissions :
13+ contents : write
14+ id-token : write
15+ attestations : write
16+
17+ jobs :
18+ release :
19+ uses : tree-sitter/workflows/.github/workflows/release.yml@main
20+ with :
21+ attestations : true
22+
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/ribru17/ts_query_ls/refs/heads/master/schemas/config.json" ,
3+ "parser_install_directories" : [" ." ]
4+ }
You can’t perform that action at this time.
0 commit comments