Skip to content

Commit 16fd348

Browse files
An ZhongAn Zhong
authored andcommitted
Fix Cargo prefetch step for untracked lockfile
1 parent 70ca0a7 commit 16fd348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
path: |
3232
.cargo-home/registry
3333
.cargo-home/git
34-
key: ${{ runner.os }}-cargo-${{ hashFiles('tools/rust-sim-runtime/Cargo.lock') }}
34+
key: ${{ runner.os }}-cargo-${{ hashFiles('tools/rust-sim-runtime/Cargo.toml', 'tools/rust-sim-runtime/Cargo.lock') }}
3535
restore-keys: |
3636
${{ runner.os }}-cargo-
3737
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Prefetch Rust Dependencies
5050
run: |
51-
. setup.sh && cargo fetch --manifest-path tools/rust-sim-runtime/Cargo.toml --locked
51+
. setup.sh && cargo fetch --manifest-path tools/rust-sim-runtime/Cargo.toml
5252
5353
- name: Build All Components
5454
run: |

0 commit comments

Comments
 (0)