Skip to content

Commit f3278ee

Browse files
salmanmkcycjcl868
andauthored
chore: upgrade GitHub Actions for Node 24 compatibility (#1795)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Charles <jinxin001@bytedance.com>
1 parent ce0e891 commit f3278ee

8 files changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/agent_tars_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
runs-on: ubuntu-latest
2828

2929
steps:
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
- name: Install pnpm
3232
run: npm install -g pnpm@9
33-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
33+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3434
with:
3535
node-version: 22
3636
cache: 'pnpm'

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
runs-on: ubuntu-latest
2828

2929
steps:
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131

3232
- name: Cache turbo
33-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
33+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
3434
with:
3535
path: .turbo
3636
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Install pnpm
4141
run: npm install -g pnpm@9
42-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
42+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
4343
with:
4444
node-version: 20
4545
cache: 'pnpm'

.github/workflows/e2e-ui-tars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
os: [macos-latest, macos-13, windows-latest]
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3838

3939
- name: Cache turbo
40-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
40+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
4141
with:
4242
path: .turbo
4343
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Install pnpm
4848
run: npm install -g pnpm@9
49-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
49+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
5050
with:
5151
node-version: 20
5252
cache: 'pnpm'

.github/workflows/release-ui-tars.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
publish_on_mac:
2020
runs-on: macos-latest
2121
steps:
22-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
- name: Show operating system info
2424
run: |
2525
echo "Operating System:"
2626
uname -a
2727
- name: Install pnpm
2828
run: npm install -g pnpm@9
29-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
29+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3030
with:
3131
node-version: 20
3232
cache: 'pnpm'
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
cd apps/ui-tars && pnpm run publish:mac-arm64
7878
- name: Save latest-mac-arm64.yml as an artifact
79-
uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47
79+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8080
with:
8181
name: latest-mac-${{ github.sha }}-arm64
8282
path: apps/ui-tars/out/latest-mac-arm64.yml
@@ -85,14 +85,14 @@ jobs:
8585
publish_on_mac_x64:
8686
runs-on: macos-13
8787
steps:
88-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
88+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8989
- name: Show operating system info
9090
run: |
9191
echo "Operating System:"
9292
uname -a
9393
- name: Install pnpm
9494
run: npm install -g pnpm@9
95-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
95+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
9696
with:
9797
node-version: 20
9898
cache: 'pnpm'
@@ -142,7 +142,7 @@ jobs:
142142
run: |
143143
cd apps/ui-tars && pnpm run publish:mac-x64
144144
- name: Save latest-mac-x64.yml as an artifact
145-
uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47
145+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
146146
with:
147147
name: latest-mac-${{ github.sha }}-x64
148148
path: apps/ui-tars/out/latest-mac-x64.yml
@@ -154,21 +154,21 @@ jobs:
154154
- publish_on_mac_x64
155155
runs-on: ubuntu-latest
156156
steps:
157-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
157+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158158
- name: Show operating system info
159159
run: |
160160
echo "Operating System:"
161161
uname -a
162162
- name: Install pnpm
163163
run: npm install -g pnpm@9
164-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
164+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
165165
with:
166166
node-version: 20
167167
cache: 'pnpm'
168168
- name: install dependencies
169169
run: pnpm i tsx js-yaml -w
170170
- name: Download All Artifacts
171-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
171+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
172172
with:
173173
path: scripts/merge-yml
174174
pattern: latest-mac-${{ github.sha }}-*
@@ -189,14 +189,14 @@ jobs:
189189
publish_on_win:
190190
runs-on: windows-latest
191191
steps:
192-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
192+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
193193
- name: Show operating system info
194194
run: |
195195
echo "Operating System:"
196196
cmd /c ver
197197
- name: Install pnpm
198198
run: npm install -g pnpm@9
199-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
199+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
200200
with:
201201
node-version: 20
202202
cache: 'pnpm'

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3636
with:
3737
persist-credentials: false
3838

.github/workflows/secret-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
fetch-depth: 0
1919
- name: Secret Scanning

.github/workflows/secretlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: checkout
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
with:
2020
# fetch history to get all changed files on push or pull_request event
2121
fetch-depth: 0
2222
- name: Get changed files
2323
id: changed-files
2424
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.1
2525
- name: setup Node ${{ matrix.node-version }}
26-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
26+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2727
with:
2828
node-version: 20
2929
- name: Show changed files

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
runs-on: macos-latest
3232

3333
steps:
34-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535

3636
- name: Cache turbo
37-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
37+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
3838
with:
3939
path: .turbo
4040
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Install pnpm
4545
run: npm install -g pnpm@9
46-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
46+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
4747
with:
4848
node-version: 20
4949
cache: 'pnpm'

0 commit comments

Comments
 (0)