Skip to content

Commit 4054e58

Browse files
committed
ci: fix hash in cache key
1 parent 7e71a3b commit 4054e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_build-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
~/.cargo/registry/cache/
5353
~/.cargo/git/db/
5454
target/
55-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ inputs.rust-version }}
55+
key: ${{ runner.os }}-rust-${{ inputs.rust-version }}-cargo-${{ hashFiles('Cargo.lock') }}
5656
restore-keys: ${{ runner.os }}-cargo-${{ inputs.rust-version }}
5757
- run: cargo version
5858
- name: Code Formatting

0 commit comments

Comments
 (0)