File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 88
99env :
1010 CARGO_TERM_COLOR : always
11+ CARGO_NET_GIT_FETCH_WITH_CLI : " true"
1112
1213jobs :
1314 build :
@@ -34,21 +35,21 @@ jobs:
3435 ~/.cargo/registry/cache/
3536 ~/.cargo/git/db/
3637 target/
37- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
38+ key : ${{ runner.os }}-cargo-${{ hashFiles('rust-toolchain*', ' **/Cargo.lock') }}
3839 restore-keys : |
3940 ${{ runner.os }}-cargo-
4041
4142 - name : Cargo fmt
4243 run : cargo fmt -- --check
4344
4445 - name : Cargo clippy
45- run : cargo clippy -- -D warnings
46+ run : cargo clippy --locked -- -D warnings
4647
4748 - name : Cargo test
48- run : cargo test
49+ run : cargo test --locked
4950
5051 - name : Cargo build (release)
51- run : cargo build --release
52+ run : cargo build --release --locked
5253
5354 - name : Upload artifact
5455 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments