add cargo-deny check to CI#2322
Open
evanbranigan-dotcom wants to merge 2 commits into
Open
Conversation
Run cargo-deny on every PR to enforce the dependency bans defined in deny.toml (openssl, openssl-sys, boring, boring-sys). Uses the EmbarkStudios/cargo-deny-action which ships its own binary — no toolchain or cache setup needed. Also trigger CI on deny.toml changes. Contributes to zingolabs#2066 AI Disclosure: Claude (Anthropic) assisted with codebase analysis and patch authoring. All code was reviewed and understood by the committer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a
cargo-denyCI job to enforce the dependency bans already defined indeny.toml.Changes
cargo-denyjob inci-pr.yamlusingEmbarkStudios/cargo-deny-action@v2check bansto enforce the existing openssl/boring deny rulesdeny.tomlchangesContext
deny.tomlwas added previously with bans foropenssl,openssl-sys,boring, andboring-sys, but was never wired into CI. This closes the loop so banned deps are caught on every PR.Contributes to #2066
AI Disclosure
Claude (Anthropic) assisted with patch authoring. All code was reviewed and understood by the committer.