File tree Expand file tree Collapse file tree 2 files changed +20
-39
lines changed
Expand file tree Collapse file tree 2 files changed +20
-39
lines changed Original file line number Diff line number Diff line change @@ -400,16 +400,33 @@ 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
406- no_output_timeout : 35m
406+ no_output_timeout : 10m
407407 command : |
408408 cargo install cargo-machete@0.7.0
409409 cargo machete
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 security vulnerabilities
423+ no_output_timeout : 10m
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
@@ -466,6 +483,7 @@ workflows:
466483 - check-fmt
467484 - check-clippy
468485 - check-unused-dependencies
486+ - check-cargo-audit
469487 - devnet-test
470488
471489 windows-workflow :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments