Skip to content

ci: add cargo-deny job (LAN-231)#147

Merged
lance0 merged 1 commit into
masterfrom
ci/lan-231-batch2
Jul 24, 2026
Merged

ci: add cargo-deny job (LAN-231)#147
lance0 merged 1 commit into
masterfrom
ci/lan-231-batch2

Conversation

@lance0

@lance0 lance0 commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Adds the cargo-deny check from LAN-231. (The other two quick items on that list — typos and the Windows cargo check — turned out to already be on master via 7d7b7b4 / 768beec; an earlier revision of this PR duplicated them, which GitHub rejected as a workflow parse error. Now this PR is cargo-deny only, plus ROADMAP bookkeeping for all three.)

What it checks (cargo deny check licenses bans sources, pinned 0.19.8)

  • Licenses: permissive-only allow-list in deny.toml, with one scoped exception — option-ext (MPL-2.0, pulled by dirs). A new copyleft dependency fails the PR instead of slipping in via the lockfile.
  • Bans: wildcard version requirements denied; duplicate crate versions warn only (24 today, all transitive fallout).
  • Sources: unknown registries / git sources denied.
  • Advisories deliberately excludedaudit.yml owns cargo-audit; two advisory gates would double the noise.

Validated locally: cargo deny check licenses bans sourcesbans ok, licenses ok, sources ok, and the workflow passes actionlint. The job self-validates on this PR.

Remaining from LAN-231: the nightly ThreadSanitizer/loom concurrency pass.

cargo-deny 0.19.8 checking licenses, bans, and sources on every PR:
permissive-only license allow-list with a scoped MPL-2.0 exception for
option-ext (via dirs); duplicate versions warn rather than fail; unknown
registries/git sources denied. Policy lives in deny.toml. Advisories are
deliberately excluded — audit.yml owns cargo-audit and two advisory gates
would double the noise.

Typos and the Windows check, also on the LAN-231 list, already landed
(7d7b7b4, 768beec); ROADMAP now reflects all three as done. Remaining:
the nightly ThreadSanitizer/loom concurrency pass.
@lance0
lance0 force-pushed the ci/lan-231-batch2 branch from 3ce7b09 to c53ff9d Compare July 24, 2026 14:30
@lance0 lance0 changed the title ci: add typos, cargo-deny, and Windows check jobs (LAN-231) ci: add cargo-deny job (LAN-231) Jul 24, 2026
@lance0
lance0 merged commit c25b6cb into master Jul 24, 2026
19 checks passed
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