1919 PUBLIC_SIMICS_ISPM_VERSION : " 1.8.3"
2020 MINGW_URL : " https://github.com/brechtsanders/winlibs_mingw/releases/download/13.2.0-16.0.6-11.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-13.2.0-llvm-16.0.6-mingw-w64ucrt-11.0.0-r1.7z"
2121 MINGW_VERSION : " 13.2.0-16.0.6-11.0.0-ucrt-r1"
22+ RUST_NIGHTLY_VERSION : " 2025-02-28"
2223
2324permissions :
2425 contents : read
4546
4647 - name : Cache SIMICS Dependencies
4748 id : cache-simics-packages
48- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
49+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
4950 with :
5051 path : " ${HOME}/simics"
5152 key : simics-linux-${{ env.PUBLIC_SIMICS_PACKAGE_VERSION_1000 }}-${{ env.PUBLIC_SIMICS_ISPM_VERSION }}
@@ -117,7 +118,7 @@ jobs:
117118
118119 - name : Cache Test Artifacts
119120 id : cache-test-artifacts-riscv-64
120- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
121+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
121122 with :
122123 path : tests/rsrc/riscv-64/
123124 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/riscv-64/**/*') }}
@@ -156,7 +157,7 @@ jobs:
156157
157158 - name : Cache Test Artifacts
158159 id : cache-test-artifacts-x86_64-breakpoint-uefi-edk2
159- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
160+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
160161 with :
161162 path : tests/rsrc/x86_64-breakpoint-uefi-edk2
162163 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86_64-breakpoint-uefi-edk2/**/*') }}
@@ -195,7 +196,7 @@ jobs:
195196
196197 - name : Cache Test Artifacts
197198 id : cache-test-artifacts-x86_64-crash-uefi
198- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
199+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
199200 with :
200201 path : tests/rsrc/x86_64-crash-uefi
201202 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86_64-crash-uefi/**/*') }}
@@ -234,7 +235,7 @@ jobs:
234235
235236 - name : Cache Test Artifacts
236237 id : cache-test-artifacts-x86_64-timeout-uefi-edk2
237- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
238+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
238239 with :
239240 path : tests/rsrc/x86_64-timeout-uefi-edk2
240241 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86_64-timeout-uefi-edk2/**/*') }}
@@ -273,7 +274,7 @@ jobs:
273274
274275 - name : Cache Test Artifacts
275276 id : cache-test-artifacts-x86_64-uefi
276- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
277+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
277278 with :
278279 path : tests/rsrc/x86_64-uefi
279280 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86_64-uefi/**/*') }}
@@ -312,7 +313,7 @@ jobs:
312313
313314 - name : Cache Test Artifacts
314315 id : cache-test-artifacts-x86_64-uefi-edk2
315- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
316+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
316317 with :
317318 path : tests/rsrc/x86_64-uefi-edk2
318319 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86_64-uefi-edk2/**/*') }}
@@ -364,7 +365,7 @@ jobs:
364365
365366 - name : Cache Test Artifacts
366367 id : cache-test-artifacts-x86-user
367- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
368+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
368369 with :
369370 path : tests/rsrc/x86-user/
370371 key : cache-test-artifacts-${{ hashFiles('tests/rsrc/x86-user/**/*') }}
@@ -472,12 +473,12 @@ jobs:
472473
473474 - uses : dtolnay/rust-toolchain@83bdede770b06329615974cf8c786f845d824dfb # nightly
474475 with :
475- toolchain : nightly
476+ toolchain : nightly-${{ env.RUST_NIGHTLY_VERSION }}
476477 components : rustfmt,clippy,miri
477478
478479 - name : Cache SIMICS Dependencies
479480 id : cache-simics-packages
480- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
481+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
481482 with :
482483 path : ~/simics
483484 key : simics-linux-${{ env.PUBLIC_SIMICS_PACKAGE_VERSION_1000 }}-${{ env.PUBLIC_SIMICS_ISPM_VERSION }}
@@ -556,7 +557,7 @@ jobs:
556557
557558 - name : Cache MinGW
558559 id : cache-mingw
559- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
560+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
560561 with :
561562 path : C:\MinGW\
562563 key : mingw-${{ env.MINGW_VERSION }}
@@ -578,11 +579,11 @@ jobs:
578579 echo "Downloading Rustup"
579580 Invoke-WebRequest -URI https://win.rustup.rs/x86_64 -OutFile C:\rustup-init.exe
580581 echo "Installing Rust"
581- C:\rustup-init.exe --default-toolchain nightly --default-host x86_64-pc-windows-gnu -y
582+ C:\rustup-init.exe --default-toolchain nightly-${{ env.RUST_NIGHTLY_VERSION }} --default-host x86_64-pc-windows-gnu -y
582583
583584 - name : Cache SIMICS
584585 id : cache-simics-packages-windows
585- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
586+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
586587 with :
587588 path : |
588589 C:\ISPM\
@@ -634,7 +635,7 @@ jobs:
634635
635636 build_dist :
636637 name : Build for Distribution
637- runs-on : ubuntu-latest
638+ runs-on : ubuntu-22.04
638639 steps :
639640 - name : Harden Runner
640641 uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -647,7 +648,7 @@ jobs:
647648
648649 - name : Cache Builder Dependencies
649650 id : cache-builder-dependencies
650- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0 .2
651+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2 .2
651652 with :
652653 path : .github/builder/rsrc
653654 key : " cache-builder-dependencies-${{ hashFiles('.github/builder/common.sh') }}"
0 commit comments