File tree Expand file tree Collapse file tree 2 files changed +26
-10
lines changed Expand file tree Collapse file tree 2 files changed +26
-10
lines changed Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : ["*" ]
5+ branches : [master ]
66 paths :
77 - grammar.js
88 - src/**
@@ -34,18 +34,22 @@ jobs:
3434 uses : actions/checkout@v4
3535 - name : Set up the repo
3636 uses : tree-sitter/setup-action/cli@v1
37- - name : Set up examples
38- run : |-
39- git clone https://github.com/ziglang/zig examples/zig --single-branch --depth=1 --filter=blob:none
4037 - name : Run tests
4138 uses : tree-sitter/parser-test-action@v2
4239 with :
43- test-rust : ${{runner.os == 'Linux'}}
40+ test-rust : true
41+ test-node : true
42+ test-python : true
43+ test-go : true
44+ test-swift : true
45+ - name : Set up examples
46+ run : |-
47+ git clone https://github.com/ziglang/zig examples/zig --single-branch --depth=1 --filter=blob:none
4448 - name : Parse examples
4549 uses : tree-sitter/parse-action@v4
4650 with :
4751 files : |
48- examples/**/*.kt
52+ examples/**/*.zig
4953 invalid-files : |
5054 examples/zig/doc/langref/var_must_be_initialized.zig
5155 examples/zig/test/cases/compile_errors/const_is_a_statement_not_an_expression.zig
Original file line number Diff line number Diff line change 1- name : Publish package
1+ name : Publish packages
22
33on :
44 push :
55 tags : ["*"]
66
7- concurrency :
8- group : ${{github.workflow}}-${{github.ref}}
9- cancel-in-progress : true
7+ permissions :
8+ contents : write
9+ id-token : write
10+ attestations : write
1011
1112jobs :
13+ github :
14+ uses : tree-sitter/workflows/.github/workflows/release.yml@main
15+ with :
16+ generate : true
17+ attestations : true
1218 npm :
1319 uses : tree-sitter/workflows/.github/workflows/package-npm.yml@main
1420 secrets :
1521 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
22+ with :
23+ generate : true
1624 crates :
1725 uses : tree-sitter/workflows/.github/workflows/package-crates.yml@main
1826 secrets :
1927 CARGO_REGISTRY_TOKEN : ${{secrets.CARGO_REGISTRY_TOKEN}}
28+ with :
29+ generate : true
2030 pypi :
2131 uses : tree-sitter/workflows/.github/workflows/package-pypi.yml@main
2232 secrets :
2333 PYPI_API_TOKEN : ${{secrets.PYPI_API_TOKEN}}
34+ with :
35+ generate : true
You can’t perform that action at this time.
0 commit comments