chore(ci): update rust-cache to include upstream fixes (#4748)

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
This commit is contained in:
Simon Scatton
2026-10-26 13:53:37 +00:00
committed by GitHub
parent 72bc3d3668
commit 37b7302796
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ runs:
version: ${{ inputs.mise-version }}
- name: Cache Rust target and registry
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
with:
shared-key: ${{ inputs.rust-cache-key }}
cache-on-failure: "true"
+1 -1
View File
@@ -30,7 +30,7 @@ runs:
- name: Cache Rust target and registry
id: cache
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
with:
shared-key: ${{ inputs.cache-key }}-${{ steps.dev-shell.outputs.hash }}
save-if: ${{ inputs.save-cache }}
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
fetch-depth: 0
- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
with:
shared-key: rpm-vendor-${{ inputs.arch }}
cache-targets: "false"
+3 -3
View File
@@ -84,7 +84,7 @@ jobs:
- name: Install cargo-nextest
run: mise install --locked github:nextest-rs/nextest
- name: Cache Rust target and registry
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
env:
# Keep rust-cache's cargo metadata calls independent of the compiler
# wrapper; build steps still inherit sccache from the job.
@@ -146,7 +146,7 @@ jobs:
- name: Install cargo-nextest
run: mise install --locked github:nextest-rs/nextest
- name: Cache Rust target and registry
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
env:
RUSTC_WRAPPER: ""
with:
@@ -201,7 +201,7 @@ jobs:
rustup toolchain install
rustup target add ${{ matrix.rust_target }}
- name: Cache Rust target and registry
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@6a7bc3ebce750e0a16a430dd57485acfdb38b05f
env:
RUSTC_WRAPPER: ""
with: