-
Notifications
You must be signed in to change notification settings - Fork 354
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
Run cargo deny
in the test framework
#5942
Run cargo deny
in the test framework
#5942
Conversation
Right, |
fa6435b
to
7b6dc58
Compare
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.
Unfortunately that we need to duplicate so much deny-info. But let's merge this so we get the CI up to speed at least. Hopefully we can simplify it at a later point in time.
Reviewed 1 of 2 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @MarkusPettersson98)
.github/workflows/testframework-rust-supply-chain.yml
line 7 at r2 (raw file):
paths: - .github/workflows/testframework-rust-supply-chain.yml - deny.toml
This is now the wrong deny.toml
fbdcee3
to
6b5efa0
Compare
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.
Reviewable status: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @faern)
.github/workflows/testframework-rust-supply-chain.yml
line 7 at r2 (raw file):
Previously, faern (Linus Färnstrand) wrote…
This is now the wrong
deny.toml
Well spotted, fixed!
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.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
6b5efa0
to
6ab1030
Compare
Security advisories`RUSTSEC-2023-0081` makes `cargo deny` fail when running it from the test workspace. No fixes have been released for any of our dependencies which triggers these security advisories, so we have litle choise other than ignoring them for now and keeping an eye out for updates upstream.
6ab1030
to
31a74b9
Compare
This PR adds a new CI job for the test framework CI - run
cargo deny
to guard against supply chain vulnerabilities.This is one step towards bringing the CI for the test framework on par with main workspace CI.
Open questions
In some sense it would be nice to have a separatedeny.toml
in thetest
workspace, but on the other hand it would be hard to keep them in sync with everything that should be shared across them. For now, I put thetest
workspace specificRUSTSEC
advisories to allow temporarily in the maindeny.toml
🤷Answer: Duplicate
deny.toml
in thetest
workspace and modify as needed 📜 🖊️This change is