Skip to content

Commit 6955069

Browse files
committed
ci: update workflows
1 parent 8c65e25 commit 6955069

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

.github/workflows/ci.yml

+5-20
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ jobs:
4343
- name: Run tests
4444
uses: tree-sitter/parser-test-action@v2
4545
with:
46-
test-rust: ${{runner.os == 'Linux'}}
46+
test-rust: true
47+
test-node: true
48+
test-python: true
49+
test-go: true
50+
test-swift: true
4751
- name: Parse examples
4852
uses: tree-sitter/parse-action@v4
4953
with:
@@ -57,22 +61,3 @@ jobs:
5761
!examples/cpython/Lib/test/test_type_params.py
5862
invalid-files: |
5963
examples/cpython/Lib/test/tokenizedata/badsyntax_3131.py
60-
fuzz:
61-
name: Fuzz parser
62-
runs-on: ubuntu-latest
63-
steps:
64-
- name: Checkout repository
65-
uses: actions/checkout@v4
66-
with:
67-
fetch-depth: 2
68-
- name: Check for scanner changes
69-
id: scanner-changes
70-
run: |-
71-
if git diff --quiet HEAD^ -- src/scanner.c; then
72-
printf 'changed=false\n' >> "$GITHUB_OUTPUT"
73-
else
74-
printf 'changed=true\n' >> "$GITHUB_OUTPUT"
75-
fi
76-
- name: Fuzz parser
77-
uses: tree-sitter/fuzz-action@v4
78-
if: steps.scanner-changes.outputs.changed == 'true'

.github/workflows/fuzz.yml

-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@ jobs:
1717
uses: actions/checkout@v4
1818
- name: Run fuzzer
1919
uses: tree-sitter/fuzz-action@v4
20-
with:
21-
tree-sitter-version: v0.22.2

.github/workflows/publish.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
name: Publish package
1+
name: Publish packages
22

33
on:
44
push:
55
tags: ["*"]
66

7-
concurrency:
8-
group: ${{github.workflow}}-${{github.ref}}
9-
cancel-in-progress: true
10-
117
jobs:
8+
github:
9+
uses: tree-sitter/workflows/.github/workflows/release.yml@main
1210
npm:
1311
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1412
secrets:

0 commit comments

Comments
 (0)