Skip to content

[codex] Enforce cargo deny in CI#92

Merged
saworbit merged 1 commit into
mainfrom
codex/enforce-cargo-deny-ci
May 17, 2026
Merged

[codex] Enforce cargo deny in CI#92
saworbit merged 1 commit into
mainfrom
codex/enforce-cargo-deny-ci

Conversation

@saworbit

Copy link
Copy Markdown
Owner

Summary

  • Add a dependency-policy job to the main CI workflow so the existing deny.toml policy is enforced on pushes and pull requests.
  • Remove stale Unicode-DFS-2016 from the allowed license list after cargo deny check reported it as unmatched.

Diagnostics run

  • cargo deny check
  • cargo tree --duplicates
  • cargo bloat --release --crates -n 30

Validation

  • cargo deny check
  • actionlint .github/workflows/ci.yml .github/workflows/compliance.yml
  • git diff --check

Notes

cargo deny check passes. Duplicate crate warnings remain because the current policy treats multiple versions as warn; the highest-signal cleanup candidates are transitive version splits around console, rand/getrandom, tower, socket2, thiserror, and Windows target crates.

Add a dependency-policy job to the main CI workflow so cargo-deny runs against the workspace on every push and pull request, using the existing deny.toml policy.

Remove the stale Unicode-DFS-2016 license allow-list entry that cargo-deny reported as unmatched. Unicode-3.0 remains allowed for the current ICU-related crates.

Validation: cargo deny check; cargo tree --duplicates; cargo bloat --release --crates -n 30; actionlint .github/workflows/ci.yml .github/workflows/compliance.yml; git diff --check
@codecov

codecov Bot commented May 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@saworbit saworbit merged commit 37d455b into main May 17, 2026
11 checks passed
@saworbit saworbit deleted the codex/enforce-cargo-deny-ci branch May 17, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant