File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 1- name : build
1+ name : CI
22
3- on : [push, pull_request]
4-
5- env :
6- CARGO_TERM_COLOR : always
7- CARGO_INCREMENTAL : 0
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - master
8+ pull_request :
9+ branches :
10+ - " **"
811
912jobs :
1013 build-node :
1114 name : build-node
1215 runs-on : ubuntu-latest
1316 steps :
1417 - name : Checkout code
15- uses : actions/checkout@v2
18+ uses : actions/checkout@v4
1619
1720 - name : Setup Node
18- uses : actions/setup-node@v3
21+ uses : actions/setup-node@v4
1922 with :
20- node-version : ' 12 '
23+ node-version : 18
2124
2225 - name : Display Node versions
2326 run : |
2831 run : npm install
2932
3033 - name : Cache examples
31- uses : actions/cache@v3
34+ uses : actions/cache@v4
3235 with :
3336 path : examples
3437 key : ${{ hashFiles('script/parse-examples') }}
4144 runs-on : ubuntu-latest
4245 steps :
4346 - name : Checkout code
44- uses : actions/checkout@v2
47+ uses : actions/checkout@v4
4548
4649 - name : Install rust
4750 uses : actions-rs/toolchain@v1
@@ -57,10 +60,10 @@ jobs:
5760
5861 build-swift :
5962 name : build-swift
60- runs-on : macos-latest
63+ runs-on : macos-14
6164 steps :
6265 - name : Checkout code
63- uses : actions/checkout@v2
66+ uses : actions/checkout@v4
6467
6568 - name : Build
6669 run : swift build
Original file line number Diff line number Diff line change 55 tags :
66 - v*
77
8- env :
9- CARGO_TERM_COLOR : always
10- CARGO_INCREMENTAL : 0
11-
128jobs :
139 crate :
1410 if : github.repository_owner == 'tree-sitter'
You can’t perform that action at this time.
0 commit comments