mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-16 01:54:56 +02:00
ci: validate queries
This commit is contained in:
parent
d403ce05d8
commit
4f3ca7dc47
2 changed files with 22 additions and 0 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -67,3 +67,21 @@ jobs:
|
|||
- name: Run the fuzzer
|
||||
uses: tree-sitter/fuzz-action@v4
|
||||
if: steps.scanner-check.outputs.changed == 'true'
|
||||
query:
|
||||
name: Validate queries
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up tree-sitter
|
||||
uses: tree-sitter/setup-action/cli@v2
|
||||
|
||||
- name: Build parser
|
||||
run: tree-sitter build
|
||||
|
||||
- name: Set up ts_query_ls
|
||||
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
|
||||
|
||||
- name: Check queries
|
||||
run: ./ts_query_ls check -f queries/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue