This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ if _ scripts/cargo-for-all-lock-files.sh +"$rust_nightly" check --locked --all-t
18
18
else
19
19
check_status=$?
20
20
echo " Some Cargo.lock is outdated; please update them as well"
21
- echo " protip: you can use ./scripts/cargo-for-all-lock-files.sh update ..."
21
+ echo " protip: you can use ./scripts/cargo-for-all-lock-files.sh [check| update] ..."
22
22
exit " $check_status "
23
23
fi
24
24
25
25
_ cargo +" $rust_stable " fmt --all -- --check
26
26
27
- _ cargo +" $rust_nightly " clippy --version
28
- _ cargo +" $rust_nightly " clippy --workspace --all-targets -- --deny=warnings
27
+ # -Z... is needed because of clippy bug: https://github.com/rust-lang/rust-clippy/issues/4612
28
+ _ cargo +" $rust_nightly " clippy -Zunstable-options --version
29
+ _ cargo +" $rust_nightly " clippy -Zunstable-options --workspace --all-targets -- --deny=warnings
29
30
30
31
_ cargo +" $rust_stable " audit --version
31
32
_ scripts/cargo-for-all-lock-files.sh +" $rust_stable " audit --ignore RUSTSEC-2020-0002 --ignore RUSTSEC-2020-0008
Original file line number Diff line number Diff line change 30
30
fi
31
31
32
32
for lock_file in $files ; do
33
+ if [[ -n $CI ]]; then
34
+ echo " --- [$lock_file ]: cargo " " ${shifted_args[@]} " " $@ "
35
+ fi
33
36
(
34
37
set -x
35
38
cd " $( dirname " $lock_file " ) "
You can’t perform that action at this time.
0 commit comments