-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rust): Update cargo deny
check and deny.toml config
#344
Changes from 7 commits
ff699bf
95b8c95
bb6c291
a6efc92
b715a46
22aaa1f
e5b4ee7
487e0fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ def main(): | |
results.add( | ||
vendor_files_check.toml_diff_check("/stdcfgs/clippy.toml", "clippy.toml") | ||
) | ||
results.add(vendor_files_check.toml_diff_check("/stdcfgs/deny.toml", "deny.toml")) | ||
results.add(vendor_files_check.toml_diff_check("/stdcfgs/deny.toml", "deny.toml", strict=False)) | ||
|
||
# Check if the rust src is properly formatted. | ||
res = exec_manager.cli_run("cargo +nightly fmtchk ", name="Rust Code Format Check") | ||
|
@@ -104,7 +104,7 @@ def main(): | |
results.add(exec_manager.cli_run("cargo machete", name="Unused Dependencies Check")) | ||
# Check if we have any supply chain issues with dependencies. | ||
results.add( | ||
exec_manager.cli_run("cargo deny check --exclude-dev -W vulnerability", name="Supply Chain Issues Check") | ||
exec_manager.cli_run("cargo deny check --exclude-dev", name="Supply Chain Issues Check") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All the reasons for ignoreing the RUST-SEC vulnerabilites as errors remain, |
||
) | ||
|
||
results.print() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, i want strict checking of cargo-deny config. Projects should not be able to modify it to suit themselves.