mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-29 07:23:25 +08:00
chore(ci): update rust-cache to include upstream fixes (#4748)
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user