Skip to content

Commit 8560aa6

Browse files
committed
Move compat workflows off Node 20 action pins
Every compatibility workflow still pinned download-artifact v4, setup-node v4 and setup-python v5, which target Node.js 20. GitHub already forces them onto Node 24 with a deprecation warning; once it drops Node 20 action support, every bun, gradle, npm, pdm, pnpm, poetry, sbt and vlt compatibility leg breaks at once. ci.yml moved to newer pins in #1590. Reuse exactly those SHAs (already trusted and running in this repo) so the compatibility workflows match: download-artifact v7.0.0, setup-node v6.4.0, setup-python v6.3.0. Every download here goes by name pattern with merge-multiple, so download-artifact's by-ID extraction change doesn't apply. There's no root package.json, so setup-node's automatic npm cache stays off. release.yml keeps its pins; #1588 leaves that bump for a human. Refs #1588 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Df8ucZKAaQPFLu8QXdBGL2
1 parent aa69125 commit 8560aa6

8 files changed

Lines changed: 29 additions & 29 deletions

‎.github/workflows/bun-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ jobs:
183183
persist-credentials: false
184184

185185
- name: Download CLI
186-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
186+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
187187
with:
188188
pattern: bun-cli-${{ matrix.os }}*
189189
merge-multiple: true
190190
path: native-cli
191191

192192
- name: Setup Python
193-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
193+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
194194
with:
195195
python-version: '3.12'
196196

@@ -390,7 +390,7 @@ jobs:
390390
save-if: ${{ github.ref == 'refs/heads/main' }}
391391

392392
- name: Setup Python
393-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
393+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
394394
with:
395395
python-version: '3.12'
396396

‎.github/workflows/gradle-compatibility.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256
persist-credentials: false
257257

258258
- name: Download the Gradle suites
259-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
259+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
260260
with:
261261
pattern: gradle-bin-${{ matrix.os }}*
262262
merge-multiple: true

‎.github/workflows/npm-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ jobs:
123123
steps:
124124
# Same workspace path as the build job, so the socket-patch path
125125
# compiled into the tests (CARGO_BIN_EXE_socket-patch) resolves.
126-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
126+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
127127
with:
128128
pattern: npm-e2e*
129129
merge-multiple: true
130130
path: target/debug
131-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
131+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
132132
with:
133133
node-version: '24.11.1'
134134
- name: Install the pinned npm
@@ -137,7 +137,7 @@ jobs:
137137
run: |
138138
npm install --prefix "$RUNNER_TEMP/npm-tool" --no-audit --no-fund "npm@$NPM_TEST_VERSION"
139139
echo "SOCKET_PATCH_NPM_E2E_BIN=$RUNNER_TEMP/npm-tool/node_modules/.bin/npm" >> "$GITHUB_ENV"
140-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
140+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
141141
with:
142142
node-version: ${{ matrix.node }}
143143
- name: Hosted + vendored installs, manifest-less VEX

‎.github/workflows/pdm-compatibility.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ jobs:
134134
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
135135
with:
136136
persist-credentials: false
137-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
137+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
138138
with:
139139
pattern: pdm-cli-${{ matrix.os }}*
140140
merge-multiple: true
141141
path: native-cli
142-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
142+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
143143
with:
144144
python-version: '3.12'
145145
# uv bootstraps every pinned PDM release (and its interpreter) itself;
@@ -233,12 +233,12 @@ jobs:
233233
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
234234
with:
235235
persist-credentials: false
236-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
236+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
237237
with:
238238
pattern: pdm-cli-${{ matrix.os }}*
239239
merge-multiple: true
240240
path: target/pdm-e2e
241-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
241+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
242242
with:
243243
python-version: '3.12'
244244
- run: scripts/pip-install-retry.sh uv==0.11.19

‎.github/workflows/pnpm-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ jobs:
111111
- node: '24.11.1'
112112
pnpm: 9.0.0 9.15.9 10.0.0 10.33.0 10.34.5 11.0.0 11.27.0 12.0.0 12.4.2
113113
steps:
114-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
114+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
115115
with:
116116
pattern: pnpm-e2e*
117117
merge-multiple: true
118118
path: bin
119-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
119+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
120120
with:
121121
node-version: '24.11.1'
122122
- name: Install the pinned package managers
@@ -126,7 +126,7 @@ jobs:
126126
for v in $PNPM_TEST_VERSIONS; do
127127
npm install --prefix "$RUNNER_TEMP/pnpm-$v" --no-audit --no-fund "pnpm@$v"
128128
done
129-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
129+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
130130
with:
131131
node-version: ${{ matrix.node }}
132132
# Per version: installation, verified VEX, rollback and integrity

‎.github/workflows/poetry-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ jobs:
103103
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104104
with:
105105
persist-credentials: false
106-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
106+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
107107
with:
108108
pattern: poetry-cli-${{ matrix.os }}*
109109
merge-multiple: true
110110
path: native-cli
111-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
111+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
112112
with:
113113
python-version: '3.12'
114114
- name: Pin the production patch hosts (macOS)

‎.github/workflows/sbt-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
persist-credentials: false
224224

225225
- name: Download the sbt image and Linux binaries
226-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
226+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
227227
with:
228228
pattern: sbt-*
229229
merge-multiple: true
@@ -274,7 +274,7 @@ jobs:
274274
persist-credentials: false
275275

276276
- name: Download the sbt image and Linux binaries
277-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
277+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
278278
with:
279279
pattern: sbt-*
280280
merge-multiple: true

‎.github/workflows/vlt-compatibility.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,12 @@ jobs:
299299
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
300300
with:
301301
persist-credentials: false
302-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
302+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
303303
with:
304304
pattern: vlt-e2e-${{ matrix.os }}*
305305
merge-multiple: true
306306
path: target/vlt-e2e
307-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
307+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
308308
with:
309309
node-version: ${{ matrix.node || '24.21.0' }}
310310
- name: Install vlt ${{ matrix.vlt }}
@@ -450,15 +450,15 @@ jobs:
450450
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
451451
with:
452452
persist-credentials: false
453-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
453+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
454454
with:
455455
pattern: vlt-e2e-${{ matrix.os }}*
456456
merge-multiple: true
457457
path: native-cli
458-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
458+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
459459
with:
460460
node-version: '24.21.0'
461-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
461+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
462462
with:
463463
python-version: '3.12'
464464
- name: Pin the production patch hosts (macOS)
@@ -514,7 +514,7 @@ jobs:
514514
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
515515
with:
516516
persist-credentials: false
517-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
517+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
518518
with:
519519
pattern: vlt-results-*
520520
path: results
@@ -561,15 +561,15 @@ jobs:
561561
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
562562
with:
563563
persist-credentials: false
564-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
564+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
565565
with:
566566
pattern: vlt-e2e-${{ matrix.os }}*
567567
merge-multiple: true
568568
path: target/vlt-e2e
569-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
569+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
570570
with:
571571
node-version: '24.21.0'
572-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
572+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
573573
with:
574574
python-version: '3.12'
575575
- name: vlt@latest through every capstone
@@ -630,12 +630,12 @@ jobs:
630630
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
631631
with:
632632
persist-credentials: false
633-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
633+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
634634
with:
635635
pattern: vlt-e2e-ubuntu-latest*
636636
merge-multiple: true
637637
path: target/vlt-e2e
638-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
638+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
639639
with:
640640
node-version: '24.21.0'
641641
- name: The published release meets vlt ledgers

0 commit comments

Comments
 (0)