Skip to content

Commit 71ee31c

Browse files
authored
Merge pull request Wilfred#381 from eed3si9n/wip/github-actions
Update GitHub Actions and Node
2 parents 3007ed5 + 4eb5a61 commit 71ee31c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
- master
77
jobs:
88
changedfiles:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
outputs:
1111
all: ${{ steps.changes.outputs.all}}
1212
c: ${{ steps.changes.outputs.c }}
1313
gen: ${{ steps.changes.outputs.gen }}
1414
steps:
1515
- name: checkout tree-sitter-scala
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 10
1919

@@ -30,39 +30,39 @@ jobs:
3030
strategy:
3131
fail-fast: true
3232
matrix:
33-
os: [ubuntu-20.04, macos-latest, windows-2019]
33+
os: [ubuntu-latest, macos-latest, windows-latest]
3434
steps:
3535
- name: checkout tree-sitter-scala
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 10
3939

4040
- name: checkout scala/scala
4141
if: ${{ runner.os == 'Linux' }}
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
with:
4444
repository: scala/scala
4545
ref: v2.13.10
4646
path: scala_scala
4747

4848
- name: checkout lampepfl/dotty
4949
if: ${{ runner.os == 'Linux' }}
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
5151
with:
5252
repository: lampepfl/dotty
5353
ref: 3.3.0
5454
path: dotty
5555

5656
- name: checkout nvim-treesitter/nvim-treesitter
5757
if: ${{ runner.os == 'Linux' }}
58-
uses: actions/checkout@v3
58+
uses: actions/checkout@v4
5959
with:
6060
repository: nvim-treesitter/nvim-treesitter
6161
path: nvim_treesitter
6262

63-
- uses: actions/setup-node@v3
63+
- uses: actions/setup-node@v4
6464
with:
65-
node-version: 18
65+
node-version: 20
6666

6767
- name: Test C stack code
6868
run: gcc test/test-stack.c -o a.out && ./a.out
@@ -102,7 +102,7 @@ jobs:
102102

103103
- name: Check if queries are out of sync with nvim-treesitter
104104
if: ${{ runner.os == 'Linux' }}
105-
uses: tj-actions/verify-changed-files@v17
105+
uses: tj-actions/verify-changed-files@v19
106106
id: verify-changed-files
107107
with:
108108
files: |

.github/workflows/fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Parser fuzzing
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@4
2121
- uses: vigoux/tree-sitter-fuzz-action@v1
2222
with:
2323
language: scala

.github/workflows/sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66

77
jobs:
88
check-and-sync:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
outputs:
1111
all: ${{ steps.changes.outputs.all}}
1212
c: ${{ steps.changes.outputs.c }}
1313
steps:
1414
- name: checkout tree-sitter-scala
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 10
1818

@@ -27,7 +27,7 @@ jobs:
2727
npm run format
2828
2929
- name: Check for changes
30-
uses: tj-actions/verify-changed-files@v17
30+
uses: tj-actions/verify-changed-files@v19
3131
id: verify-changed-files
3232
with:
3333
files: |

0 commit comments

Comments
 (0)