Skip to content

Commit 5cec415

Browse files
committed
ci: update workflows
1 parent b70345a commit 5cec415

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ on:
44
push:
55
branches: [split_parser]
66
pull_request:
7+
branches: [split_parser]
78
workflow_dispatch:
89

10+
concurrency:
11+
group: ${{github.workflow}}-${{github.ref}}
12+
cancel-in-progress: true
13+
914
jobs:
1015
test:
1116
name: Test parsers
@@ -16,7 +21,7 @@ jobs:
1621
os: [ubuntu-latest, windows-latest, macos-latest]
1722
steps:
1823
- name: Checkout repository
19-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2025

2126
- name: Set up tree-sitter
2227
uses: tree-sitter/setup-action@v2
@@ -34,8 +39,9 @@ jobs:
3439
ALL_EXTENSIONS: 1
3540

3641
- name: Run tests
37-
uses: tree-sitter/parser-test-action@v2
42+
uses: tree-sitter/parser-test-action@v3
3843
with:
44+
generate: false
3945
test-parser-cmd: node scripts/test.js
4046

4147
- name: Rebuild with default extensions

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ name: Publish package
33
on:
44
push:
55
tags: ["*"]
6+
workflow_dispatch:
67

78
jobs:
8-
github:
9-
uses: tree-sitter/workflows/.github/workflows/release.yml@main
10-
permissions:
11-
contents: write
12-
id-token: write
139
npm:
1410
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1511
with:

0 commit comments

Comments
 (0)