Skip to content

Commit 7bfdda8

Browse files
Peter Stengerclaude
andcommitted
ci: upgrade actions off Node 20
Bump actions/checkout v4→v6, actions/setup-node v4→v6, actions/setup-python v5→v6, actions/upload-artifact v4→v7, actions/download-artifact v4→v8 to move all jobs onto Node 24 ahead of the June 2026 Node 20 sunset. Bump pypa/cibuildwheel v2.21→v3.4 and drop the macos-13 (Intel) wheel from the matrix — no longer worth building. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f01ef21 commit 7bfdda8

7 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
os: [ubuntu-latest, windows-latest, macos-14]
3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
- name: Set up tree-sitter
4343
uses: tree-sitter/setup-action/cli@v2
4444
- name: Run tests

.github/workflows/fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
- name: Run fuzzer
1919
uses: tree-sitter/fuzz-action@v4

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414
- name: Install pnpm
1515
uses: pnpm/action-setup@v4
1616
with:
1717
version: 10
1818
- name: Set up Node.js
19-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
2020
with:
2121
cache: pnpm
2222
node-version: 22
@@ -29,13 +29,13 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3333
- name: Install pnpm
3434
uses: pnpm/action-setup@v4
3535
with:
3636
version: 10
3737
- name: Set up Node.js
38-
uses: actions/setup-node@v4
38+
uses: actions/setup-node@v6
3939
with:
4040
cache: pnpm
4141
node-version: 22

.github/workflows/lsp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
- name: Install pnpm
2828
uses: pnpm/action-setup@v4
2929
with:
3030
version: 10
3131
- name: Set up Node.js
32-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v6
3333
with:
3434
cache: pnpm
3535
node-version: ${{ vars.NODE_VERSION }}

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
contents: read
1616
id-token: write
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919

20-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@v6
2121
with:
2222
node-version: 22
2323

.github/workflows/publish-pypi.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref_name, 'v')
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
21-
- uses: actions/setup-python@v5
20+
- uses: actions/checkout@v6
21+
- uses: actions/setup-python@v6
2222
with:
2323
python-version: "3.11"
2424
- run: pip install --upgrade build
2525
- run: python -m build --sdist
26-
- uses: actions/upload-artifact@v4
26+
- uses: actions/upload-artifact@v7
2727
with:
2828
name: dist-sdist
2929
path: dist/*.tar.gz
@@ -40,14 +40,13 @@ jobs:
4040
- ubuntu-latest
4141
- ubuntu-24.04-arm
4242
- windows-latest
43-
- macos-13 # x86_64
4443
- macos-14 # arm64
4544
steps:
46-
- uses: actions/checkout@v4
47-
- uses: pypa/cibuildwheel@v2.21
45+
- uses: actions/checkout@v6
46+
- uses: pypa/cibuildwheel@v3.4
4847
env:
4948
CIBW_ARCHS: native
50-
- uses: actions/upload-artifact@v4
49+
- uses: actions/upload-artifact@v7
5150
with:
5251
name: dist-wheels-${{matrix.os}}
5352
path: wheelhouse/*.whl
@@ -63,7 +62,7 @@ jobs:
6362
permissions:
6463
id-token: write
6564
steps:
66-
- uses: actions/download-artifact@v4
65+
- uses: actions/download-artifact@v8
6766
with:
6867
path: dist
6968
pattern: dist-*

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Set up tree-sitter
2020
uses: tree-sitter/setup-action/cli@v2
@@ -36,15 +36,15 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040

4141
- name: Install pnpm
4242
uses: pnpm/action-setup@v4
4343
with:
4444
version: 10
4545

4646
- name: Set up Node.js
47-
uses: actions/setup-node@v4
47+
uses: actions/setup-node@v6
4848
with:
4949
node-version: '20'
5050

0 commit comments

Comments
 (0)