Skip to content

Commit a00bbe8

Browse files
committed
Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 9952953 commit a00bbe8

13 files changed

+63
-63
lines changed

.github/workflows/buffbench.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
timeout-minutes: 360
1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313

1414
- name: Set up Bun
1515
uses: oven-sh/setup-bun@v2
1616
with:
1717
bun-version: '1.3.5'
1818

1919
- name: Cache dependencies
20-
uses: actions/cache@v4
20+
uses: actions/cache@v5
2121
with:
2222
path: |
2323
node_modules

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Set up Bun
2424
uses: oven-sh/setup-bun@v2
2525
with:
2626
bun-version: '1.3.5'
2727

2828
- name: Cache dependencies
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
with:
3131
path: |
3232
node_modules
@@ -98,15 +98,15 @@ jobs:
9898
runs-on: ubuntu-latest
9999
steps:
100100
- name: Checkout repository
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@v6
102102

103103
- name: Set up Bun
104104
uses: oven-sh/setup-bun@v2
105105
with:
106106
bun-version: '1.3.5'
107107

108108
- name: Cache dependencies
109-
uses: actions/cache@v4
109+
uses: actions/cache@v5
110110
with:
111111
path: |
112112
node_modules
@@ -191,15 +191,15 @@ jobs:
191191
runs-on: ubuntu-latest
192192
steps:
193193
- name: Checkout repository
194-
uses: actions/checkout@v4
194+
uses: actions/checkout@v6
195195

196196
- name: Set up Bun
197197
uses: oven-sh/setup-bun@v2
198198
with:
199199
bun-version: '1.3.5'
200200

201201
- name: Cache dependencies
202-
uses: actions/cache@v4
202+
uses: actions/cache@v5
203203
with:
204204
path: |
205205
node_modules
@@ -266,15 +266,15 @@ jobs:
266266
- 5432:5432
267267
steps:
268268
- name: Checkout repository
269-
uses: actions/checkout@v4
269+
uses: actions/checkout@v6
270270

271271
- name: Set up Bun
272272
uses: oven-sh/setup-bun@v2
273273
with:
274274
bun-version: '1.3.5'
275275

276276
- name: Cache dependencies
277-
uses: actions/cache@v4
277+
uses: actions/cache@v5
278278
with:
279279
path: |
280280
node_modules
@@ -354,15 +354,15 @@ jobs:
354354
- 5432:5432
355355
steps:
356356
- name: Checkout repository
357-
uses: actions/checkout@v4
357+
uses: actions/checkout@v6
358358

359359
- name: Set up Bun
360360
uses: oven-sh/setup-bun@v2
361361
with:
362362
bun-version: '1.3.5'
363363

364364
- name: Cache dependencies
365-
uses: actions/cache@v4
365+
uses: actions/cache@v5
366366
with:
367367
path: |
368368
node_modules

.github/workflows/cli-release-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ jobs:
5656
arch: arm64
5757
runs-on: ${{ matrix.os }}
5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v6
6060
with:
6161
ref: ${{ inputs.checkout-ref || github.sha }}
6262

6363
- uses: ./.github/actions/setup-project
6464

6565
- name: Download staging metadata
6666
if: inputs.artifact-name != ''
67-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@v8
6868
with:
6969
name: ${{ inputs.artifact-name }}
7070
path: cli/release-staging/
@@ -191,23 +191,23 @@ jobs:
191191
tar -czf ${{ inputs.binary-name }}-${{ matrix.target }}.tar.gz -C cli/bin "$BINARY_FILE"
192192
193193
- name: Upload binary artifact
194-
uses: actions/upload-artifact@v4
194+
uses: actions/upload-artifact@v7
195195
with:
196196
name: ${{ inputs.binary-name }}-${{ matrix.target }}
197197
path: ${{ inputs.binary-name }}-${{ matrix.target }}.tar.gz
198198

199199
build-windows-binary:
200200
runs-on: windows-latest
201201
steps:
202-
- uses: actions/checkout@v4
202+
- uses: actions/checkout@v6
203203
with:
204204
ref: ${{ inputs.checkout-ref || github.sha }}
205205

206206
- uses: ./.github/actions/setup-project
207207

208208
- name: Download staging metadata
209209
if: inputs.artifact-name != ''
210-
uses: actions/download-artifact@v4
210+
uses: actions/download-artifact@v8
211211
with:
212212
name: ${{ inputs.artifact-name }}
213213
path: cli/release-staging/
@@ -326,7 +326,7 @@ jobs:
326326
tar -czf ${{ inputs.binary-name }}-win32-x64.tar.gz -C cli/bin "$BINARY_FILE"
327327
328328
- name: Upload binary artifact
329-
uses: actions/upload-artifact@v4
329+
uses: actions/upload-artifact@v7
330330
with:
331331
name: ${{ inputs.binary-name }}-win32-x64
332332
path: ${{ inputs.binary-name }}-win32-x64.tar.gz

.github/workflows/cli-release-prod.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
outputs:
2727
new_version: ${{ steps.bump_version.outputs.new_version }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
token: ${{ secrets.GITHUB_TOKEN }}
3232

@@ -68,7 +68,7 @@ jobs:
6868
git push origin "v${{ steps.bump_version.outputs.new_version }}"
6969
7070
- name: Upload updated package
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v7
7272
with:
7373
name: updated-package
7474
path: cli/release/
@@ -89,15 +89,15 @@ jobs:
8989
needs: [prepare-and-commit-prod, build-prod-binaries]
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v6
9393

9494
- name: Download all binary artifacts
95-
uses: actions/download-artifact@v4
95+
uses: actions/download-artifact@v8
9696
with:
9797
path: binaries/
9898

9999
- name: Download updated package
100-
uses: actions/download-artifact@v4
100+
uses: actions/download-artifact@v8
101101
with:
102102
name: updated-package
103103
path: cli/release/
@@ -137,16 +137,16 @@ jobs:
137137
contents: read
138138
id-token: write
139139
steps:
140-
- uses: actions/checkout@v4
140+
- uses: actions/checkout@v6
141141

142142
- name: Download updated package
143-
uses: actions/download-artifact@v4
143+
uses: actions/download-artifact@v8
144144
with:
145145
name: updated-package
146146
path: cli/release/
147147

148148
- name: Set up Node.js for npm publishing
149-
uses: actions/setup-node@v4
149+
uses: actions/setup-node@v6
150150
with:
151151
node-version: 24
152152
registry-url: https://registry.npmjs.org/

.github/workflows/cli-release-staging.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
outputs:
2323
new_version: ${{ steps.bump_version.outputs.new_version }}
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
@@ -111,7 +111,7 @@ jobs:
111111
git push origin "v${{ steps.bump_version.outputs.new_version }}"
112112
113113
- name: Upload staging metadata
114-
uses: actions/upload-artifact@v4
114+
uses: actions/upload-artifact@v7
115115
with:
116116
name: cli-staging-metadata
117117
path: cli/release-staging/
@@ -131,7 +131,7 @@ jobs:
131131
needs: [prepare-and-commit-staging, build-staging-binaries]
132132
runs-on: ubuntu-latest
133133
steps:
134-
- uses: actions/checkout@v4
134+
- uses: actions/checkout@v6
135135
with:
136136
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
137137

@@ -165,12 +165,12 @@ jobs:
165165
fi
166166
167167
- name: Download all binary artifacts
168-
uses: actions/download-artifact@v4
168+
uses: actions/download-artifact@v8
169169
with:
170170
path: binaries/
171171

172172
- name: Download staging metadata
173-
uses: actions/download-artifact@v4
173+
uses: actions/download-artifact@v8
174174
with:
175175
name: cli-staging-metadata
176176
path: cli/release-staging/
@@ -211,18 +211,18 @@ jobs:
211211
contents: read
212212
id-token: write
213213
steps:
214-
- uses: actions/checkout@v4
214+
- uses: actions/checkout@v6
215215
with:
216216
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
217217

218218
- name: Download CLI staging package
219-
uses: actions/download-artifact@v4
219+
uses: actions/download-artifact@v8
220220
with:
221221
name: cli-staging-metadata
222222
path: cli/release-staging/
223223

224224
- name: Set up Node.js with npm registry
225-
uses: actions/setup-node@v4
225+
uses: actions/setup-node@v6
226226
with:
227227
node-version: '20'
228228
registry-url: 'https://registry.npmjs.org'

.github/workflows/evals.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
timeout-minutes: 360
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414

1515
- name: Check commit message
1616
id: check_commit
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Cache dependencies
3636
if: ${{ steps.check_commit.outputs.should_run_evals == 'true' }}
37-
uses: actions/cache@v4
37+
uses: actions/cache@v5
3838
with:
3939
path: |
4040
node_modules

.github/workflows/mirror-dot-agents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
mirror:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
with:
1414
fetch-depth: 0
1515
persist-credentials: false

.github/workflows/nightly-e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
timeout-minutes: 45
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Set up Bun
1818
uses: oven-sh/setup-bun@v2
1919
with:
2020
bun-version: '1.3.5'
2121

2222
- name: Cache dependencies
23-
uses: actions/cache@v4
23+
uses: actions/cache@v5
2424
with:
2525
path: |
2626
node_modules
@@ -74,7 +74,7 @@ jobs:
7474

7575
- name: Upload Playwright report on failure
7676
if: failure()
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v7
7878
with:
7979
name: playwright-report
8080
path: debug/playwright-report/

.github/workflows/nightly-evals.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
timeout-minutes: 360 # 6 hours is the max for any hosted github action
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Set up Bun
1818
uses: oven-sh/setup-bun@v2
1919
with:
2020
bun-version: '1.3.5'
2121

2222
- name: Cache dependencies
23-
uses: actions/cache@v4
23+
uses: actions/cache@v5
2424
with:
2525
path: |
2626
node_modules

.github/workflows/npm-app-release-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ jobs:
5858
arch: x64
5959
runs-on: ${{ matrix.os }}
6060
steps:
61-
- uses: actions/checkout@v4
61+
- uses: actions/checkout@v6
6262
with:
6363
ref: ${{ inputs.checkout-ref || github.sha }}
6464

6565
- uses: ./.github/actions/setup-project
6666

6767
- name: Download updated package
68-
uses: actions/download-artifact@v4
68+
uses: actions/download-artifact@v8
6969
with:
7070
name: ${{ inputs.artifact-name }}
7171
path: ${{ inputs.artifact-name == 'updated-staging-package' && 'npm-app/release-staging/' || 'npm-app/release/' }}
@@ -126,7 +126,7 @@ jobs:
126126
tar -czf ${{ inputs.binary-name }}-${{ matrix.target }}.tar.gz -C npm-app/bin $BINARY_FILE
127127
128128
- name: Upload binary artifact
129-
uses: actions/upload-artifact@v4
129+
uses: actions/upload-artifact@v7
130130
with:
131131
name: ${{ inputs.binary-name }}-${{ matrix.target }}
132132
path: ${{ inputs.binary-name }}-${{ matrix.target }}.*

0 commit comments

Comments
 (0)