Skip to content

Commit 8e9d9f7

Browse files
chore(ci): Update GitHub Actions
1 parent 19630fa commit 8e9d9f7

File tree

5 files changed

+39
-39
lines changed

5 files changed

+39
-39
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ jobs:
287287
--profile $CARGO_BUILD_PROFILE
288288
--features self_update
289289
- name: "Upload binary"
290-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
290+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
291291
with:
292292
name: pixi-linux-x86_64-${{ github.sha }}
293293
path: ./target/x86_64-unknown-linux-musl/${{ env.CARGO_BUILD_PROFILE }}/pixi
@@ -309,7 +309,7 @@ jobs:
309309
--profile $CARGO_BUILD_PROFILE
310310
--features self_update
311311
- name: "Upload binary"
312-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
312+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
313313
with:
314314
name: pixi-macos-aarch64-${{ github.sha }}
315315
path: ./target/${{ env.CARGO_BUILD_PROFILE }}/pixi
@@ -331,7 +331,7 @@ jobs:
331331
--profile $CARGO_BUILD_PROFILE
332332
--features self_update
333333
- name: "Upload binary"
334-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
334+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
335335
with:
336336
name: pixi-macos-x86_64-${{ github.sha }}
337337
path: ./target/${{ env.CARGO_BUILD_PROFILE }}/pixi
@@ -360,7 +360,7 @@ jobs:
360360
--profile $env:CARGO_BUILD_PROFILE
361361
--features self_update
362362
- name: "Upload binary"
363-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
363+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
364364
with:
365365
name: pixi-windows-x86_64-${{ github.sha }}
366366
path: ${{ env.PIXI_WORKSPACE }}/target/${{ env.CARGO_BUILD_PROFILE }}/pixi.exe
@@ -393,7 +393,7 @@ jobs:
393393
--profile $env:CARGO_BUILD_PROFILE
394394
--features self_update
395395
- name: "Upload binary"
396-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
396+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
397397
with:
398398
name: pixi-windows-aarch64-${{ github.sha }}
399399
path: ${{ env.PIXI_WORKSPACE }}/target/aarch64-pc-windows-msvc/${{ env.CARGO_BUILD_PROFILE }}/pixi.exe
@@ -419,7 +419,7 @@ jobs:
419419
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.PIXI_WORKSPACE }}" -Recurse
420420
echo "${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}" | Out-File -Append -Encoding utf8 -FilePath $env:GITHUB_PATH
421421
- name: Download binary from build
422-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
422+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
423423
with:
424424
name: pixi-windows-x86_64-${{ github.sha }}
425425
path: ${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}
@@ -441,7 +441,7 @@ jobs:
441441
steps:
442442
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
443443
- name: Download binary from build
444-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
444+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
445445
with:
446446
name: pixi-macos-aarch64-${{ github.sha }}
447447
path: ${{ env.TARGET_RELEASE }}
@@ -465,7 +465,7 @@ jobs:
465465
steps:
466466
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
467467
- name: Download binary from build
468-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
468+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
469469
with:
470470
name: pixi-linux-x86_64-${{ github.sha }}
471471
path: ${{ env.TARGET_RELEASE }}
@@ -496,7 +496,7 @@ jobs:
496496
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.PIXI_WORKSPACE }}" -Recurse
497497
echo "${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}" | Out-File -Append -Encoding utf8 -FilePath $env:GITHUB_PATH
498498
- name: Download binary from build
499-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
499+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
500500
with:
501501
name: pixi-windows-x86_64-${{ github.sha }}
502502
path: ${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}
@@ -525,7 +525,7 @@ jobs:
525525
steps:
526526
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
527527
- name: Download binary from build
528-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
528+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
529529
with:
530530
name: pixi-macos-aarch64-${{ github.sha }}
531531
path: ${{ env.TARGET_RELEASE }}
@@ -559,7 +559,7 @@ jobs:
559559
steps:
560560
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
561561
- name: Download binary from build
562-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
562+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
563563
with:
564564
name: pixi-linux-x86_64-${{ github.sha }}
565565
path: ${{ env.TARGET_RELEASE }}
@@ -600,7 +600,7 @@ jobs:
600600
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.PIXI_WORKSPACE }}" -Recurse
601601
echo "${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}" | Out-File -Append -Encoding utf8 -FilePath $env:GITHUB_PATH
602602
- name: Download binary from build
603-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
603+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
604604
with:
605605
name: pixi-windows-x86_64-${{ github.sha }}
606606
path: ${{ env.PIXI_WORKSPACE }}/${{ env.TARGET_RELEASE }}
@@ -651,7 +651,7 @@ jobs:
651651
steps:
652652
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
653653
- name: Download binary from build
654-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
654+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
655655
with:
656656
name: pixi-macos-aarch64-${{ github.sha }}
657657
path: ${{ env.TARGET_RELEASE }}
@@ -699,7 +699,7 @@ jobs:
699699
steps:
700700
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
701701
- name: Download binary from build
702-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
702+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
703703
with:
704704
name: pixi-linux-x86_64-${{ github.sha }}
705705
path: ${{ env.TARGET_RELEASE }}

.github/workflows/release.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
activate-environment: true
8484

8585
- name: Cache dist
86-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
86+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
8787
with:
8888
name: cargo-dist-cache
8989
# TODO: revert after switching back to released dist
@@ -100,7 +100,7 @@ jobs:
100100
cat plan-dist-manifest.json
101101
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
102102
- name: "Upload dist-manifest.json"
103-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
103+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
104104
with:
105105
name: artifacts-plan-dist-manifest
106106
path: plan-dist-manifest.json
@@ -170,7 +170,7 @@ jobs:
170170

171171
# Get the dist-manifest
172172
- name: Fetch local artifacts
173-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
173+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
174174
with:
175175
pattern: artifacts-*
176176
path: target/distrib/
@@ -211,7 +211,7 @@ jobs:
211211
212212
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
213213
- name: "Upload artifacts"
214-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
214+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
215215
with:
216216
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
217217
path: |
@@ -233,14 +233,14 @@ jobs:
233233
with:
234234
submodules: recursive
235235
- name: Install cached dist
236-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
236+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
237237
with:
238238
name: cargo-dist-cache
239239
path: ~/.cargo/bin/
240240
- run: chmod +x ~/.cargo/bin/dist
241241
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
242242
- name: Fetch local artifacts
243-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
243+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
244244
with:
245245
pattern: artifacts-*
246246
path: target/distrib/
@@ -258,7 +258,7 @@ jobs:
258258
259259
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
260260
- name: "Upload artifacts"
261-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
261+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
262262
with:
263263
name: artifacts-build-global
264264
path: |
@@ -282,14 +282,14 @@ jobs:
282282
with:
283283
submodules: recursive
284284
- name: Install cached dist
285-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
285+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
286286
with:
287287
name: cargo-dist-cache
288288
path: ~/.cargo/bin/
289289
- run: chmod +x ~/.cargo/bin/dist
290290
# Fetch artifacts from scratch-storage
291291
- name: Fetch artifacts
292-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
292+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
293293
with:
294294
pattern: artifacts-*
295295
path: target/distrib/
@@ -303,7 +303,7 @@ jobs:
303303
cat dist-manifest.json
304304
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
305305
- name: "Upload dist-manifest.json"
306-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
306+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
307307
with:
308308
# Overwrite the previous copy
309309
name: artifacts-dist-manifest
@@ -337,49 +337,49 @@ jobs:
337337
338338
# Upload unpacked artifacts, not sure how to do this in one go as you have to name the artifact
339339
- name: Upload unpacked artifact for pixi-aarch64-unknown-linux-musl
340-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
340+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
341341
with:
342342
name: artifacts-pixi-aarch64-unknown-linux-musl
343343
path: unpacked-artifacts/pixi-aarch64-unknown-linux-musl
344344

345345
- name: Upload unpacked artifact for pixi-x86_64-unknown-linux-musl
346-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
346+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
347347
with:
348348
name: artifacts-pixi-x86_64-unknown-linux-musl
349349
path: unpacked-artifacts/pixi-x86_64-unknown-linux-musl
350350

351351
- name: Upload unpacked artifact for pixi-aarch64-apple-darwin
352-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
352+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
353353
with:
354354
name: artifacts-pixi-aarch64-apple-darwin
355355
path: unpacked-artifacts/pixi-aarch64-apple-darwin
356356

357357
- name: Upload unpacked artifact for pixi-x86_64-apple-darwin
358-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
358+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
359359
with:
360360
name: artifacts-pixi-x86_64-apple-darwin
361361
path: unpacked-artifacts/pixi-x86_64-apple-darwin
362362

363363
- name: Upload unpacked artifact for pixi-x86_64-pc-windows-msvc.exe
364-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
364+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
365365
with:
366366
name: artifacts-pixi-x86_64-pc-windows-msvc.exe
367367
path: unpacked-artifacts/pixi-x86_64-pc-windows-msvc.exe
368368

369369
- name: Upload unpacked artifact for pixi-aarch64-pc-windows-msvc.exe
370-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
370+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
371371
with:
372372
name: artifacts-pixi-aarch64-pc-windows-msvc.exe
373373
path: unpacked-artifacts/pixi-aarch64-pc-windows-msvc.exe
374374

375375
# Upload installer scripts
376376
- name: Upload install.sh
377-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
377+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
378378
with:
379379
name: artifacts-install.sh
380380
path: install/install.sh
381381
- name: Upload install.ps1
382-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
382+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
383383
with:
384384
name: artifacts-install.ps1
385385
path: install/install.ps1
@@ -404,7 +404,7 @@ jobs:
404404
submodules: recursive
405405
# Create a GitHub Release while uploading all files to it
406406
- name: "Download GitHub Artifacts"
407-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
407+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
408408
with:
409409
pattern: artifacts-*
410410
path: artifacts

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6666
# format to the repository Actions tab.
6767
- name: "Upload artifact"
68-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
68+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6969
with:
7070
name: SARIF file
7171
path: results.sarif

.github/workflows/test_common_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.PIXI_WORKSPACE }}" -Recurse
4444
- name: Download binary from build
45-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
45+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
4646
with:
4747
name: pixi-${{ inputs.arch }}-${{ inputs.sha }}
4848
path: ${{ env.TARGET_RELEASE }}
@@ -63,7 +63,7 @@ jobs:
6363
$resolvedPath = Resolve-Path $env:SUMMARY_FILE
6464
Get-Content $resolvedPath | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
6565
- name: Upload Logs
66-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
66+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
6767
if: ${{ always() }}
6868
with:
6969
name: wheel-tests-logs-${{ inputs.arch }}

.github/workflows/trampoline.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: pixi run build-trampoline --target ${{ matrix.target }}
7474

7575
- name: Upload binary artifact
76-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
76+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7777
with:
7878
name: trampoline-${{ matrix.target }}
7979
path: trampoline/binaries/pixi-trampoline-${{ matrix.target }}${{ matrix.os == 'windows-latest' && '.exe' || '' }}.zst
@@ -90,7 +90,7 @@ jobs:
9090
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
9191

9292
- name: Download all binaries
93-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
93+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
9494
with:
9595
path: trampoline/binaries/
9696
merge-multiple: true
@@ -99,7 +99,7 @@ jobs:
9999
run: ls -R trampoline/binaries/
100100

101101
- name: Upload binary artifact
102-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
102+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
103103
with:
104104
name: trampolines
105105
path: trampoline/binaries/

0 commit comments

Comments
 (0)