Skip to content

Commit 587312e

Browse files
update GitHub's actions (#3233)
GitHub indicates this warning: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/ checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ So I ran this nu command: ls .github/**/*.yml | get name | each { sed -i s=actions/cache@v3=actions/cache@v5= $in sed -i s=actions/checkout@v4=actions/checkout@v6= $in } Co-authored-by: JeanRochCoulon <jean-roch.coulon@thalesgroup.com>
1 parent f76bb3a commit 587312e

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
NUM_JOBS: 8
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
with:
1818
submodules: recursive
1919

@@ -25,7 +25,7 @@ jobs:
2525
2626
- name: Cache toolchain
2727
id: cache-toolchain
28-
uses: actions/cache@v3
28+
uses: actions/cache@v5
2929
env:
3030
cache-name: cache-toolchain
3131
with:
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Cache verilator
3636
id: cache-verilator
37-
uses: actions/cache@v3
37+
uses: actions/cache@v5
3838
env:
3939
cache-name: cache-verilator
4040
with:
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Cache Spike
4545
id: cache-spike
46-
uses: actions/cache@v3
46+
uses: actions/cache@v5
4747
env:
4848
cache-name: cache-spike
4949
with:
@@ -75,7 +75,7 @@ jobs:
7575
needs:
7676
build-riscv-tests
7777
steps:
78-
- uses: actions/checkout@v4
78+
- uses: actions/checkout@v6
7979
with:
8080
submodules: recursive
8181

@@ -87,7 +87,7 @@ jobs:
8787
8888
- name: Cache toolchain
8989
id: cache-toolchain
90-
uses: actions/cache@v3
90+
uses: actions/cache@v5
9191
env:
9292
cache-name: cache-toolchain
9393
with:
@@ -96,7 +96,7 @@ jobs:
9696

9797
- name: Cache verilator
9898
id: cache-verilator
99-
uses: actions/cache@v3
99+
uses: actions/cache@v5
100100
env:
101101
cache-name: cache-verilator
102102
with:
@@ -105,7 +105,7 @@ jobs:
105105

106106
- name: Cache Spike
107107
id: cache-spike
108-
uses: actions/cache@v3
108+
uses: actions/cache@v5
109109
env:
110110
cache-name: cache-spike
111111
with:
@@ -141,7 +141,7 @@ jobs:
141141
needs:
142142
build-riscv-tests
143143
steps:
144-
- uses: actions/checkout@v4
144+
- uses: actions/checkout@v6
145145
with:
146146
submodules: recursive
147147

@@ -153,7 +153,7 @@ jobs:
153153
154154
- name: Cache toolchain
155155
id: cache-toolchain
156-
uses: actions/cache@v3
156+
uses: actions/cache@v5
157157
env:
158158
cache-name: cache-toolchain
159159
with:
@@ -162,7 +162,7 @@ jobs:
162162

163163
- name: Cache verilator
164164
id: cache-verilator
165-
uses: actions/cache@v3
165+
uses: actions/cache@v5
166166
env:
167167
cache-name: cache-verilator
168168
with:
@@ -171,7 +171,7 @@ jobs:
171171

172172
- name: Cache Spike
173173
id: cache-spike
174-
uses: actions/cache@v3
174+
uses: actions/cache@v5
175175
env:
176176
cache-name: cache-spike
177177
with:

0 commit comments

Comments
 (0)