File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ jobs:
400400 steps :
401401 - checkout
402402 - setup_environment :
403- cache_key : v3.3.1-rust-1.83.0--cache
403+ cache_key : v3.3.1-rust-1.83.0-machete -cache
404404 - run :
405405 name : Check for unused dependencies
406406 no_output_timeout : 35m
@@ -410,6 +410,23 @@ jobs:
410410 - clear_environment :
411411 cache_key : v3.3.1-rust-1.83.0-machete-cache
412412
413+ check-cargo-audit :
414+ docker :
415+ - image : cimg/rust:1.83.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
416+ resource_class : << pipeline.parameters.medium >>
417+ steps :
418+ - checkout
419+ - setup_environment :
420+ cache_key : v3.3.1-rust-1.83.0-cargo-audit-cache
421+ - run :
422+ name : Check for unused dependencies
423+ no_output_timeout : 35m
424+ command : |
425+ cargo install cargo-audit@0.7.0
426+ cargo audit -D warnings
427+ - clear_environment :
428+ cache_key : v3.3.1-rust-1.83.0-cargo-audit-cache
429+
413430 check-clippy :
414431 docker :
415432 - image : cimg/rust:1.83.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments