From 86d1fa3109275a0114e613be16d83e319413fc6a Mon Sep 17 00:00:00 2001 From: lucarlig Date: Thu, 7 May 2026 11:08:53 +0100 Subject: [PATCH] Add cargo-deny policy checks Signed-off-by: lucarlig --- .github/workflows/ci.yml | 10 ++++++++++ deny.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b37ea71..d0a07ef4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,16 @@ jobs: - uses: Swatinem/rust-cache@v2.9.1 - run: cargo clippy --locked --workspace --all-targets -- -D warnings + cargo-deny: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6.0.2 + - uses: dtolnay/rust-toolchain@stable + - uses: taiki-e/install-action@v2.75.27 + with: + tool: cargo-deny + - run: cargo deny check advisories licenses + test: runs-on: ubuntu-latest steps: diff --git a/deny.toml b/deny.toml index e490d602..6a051f1a 100644 --- a/deny.toml +++ b/deny.toml @@ -10,7 +10,7 @@ name = "webpki-roots" ## This doesn't work at the moment. see https://github.com/EmbarkStudios/cargo-deny/issues/859 [[licenses.exceptions]] allow = ["CDLA-Permissive-2.0"] -name = "webpki-roots-certs" +name = "webpki-root-certs" [licenses]