Skip to content

Commit 92522d3

Browse files
authored
test: cache cargo udeps binary only for udeps test (#846)
Signed-off-by: MrCroxx <mrcroxx@outlook.com>
1 parent 7f65145 commit 92522d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
RUST_TOOLCHAIN_NIGHTLY: nightly-2024-08-30
1919
CARGO_TERM_COLOR: always
2020
CACHE_KEY_SUFFIX: 20250118v2
21+
CARGO_UDEPS_KEY_SUFFIX: 20251020
2122

2223
jobs:
2324
misc-check:
@@ -96,10 +97,7 @@ jobs:
9697
with:
9798
path: |
9899
~/.cargo/bin/
99-
~/.cargo/registry/index/
100-
~/.cargo/registry/cache/
101-
~/.cargo/git/db/
102-
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.toml') }}-${{ env.CACHE_KEY_SUFFIX }}-rust-udeps
100+
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ env.CARGO_UDEPS_KEY_SUFFIX }}-rust-udeps
103101
- name: Install NASM for aws-lc-rs on Windows
104102
if: runner.os == 'Windows'
105103
uses: ilammy/setup-nasm@v1

0 commit comments

Comments
 (0)