From 4dca9be5747463d5450949d890d9e2fd01abb336 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 21 May 2025 13:30:01 +0000 Subject: [PATCH] ci: Update deny to v2 It looks like the v1 action due to a crate bump started hard requiring a newer rust? Signed-off-by: Colin Walters --- .github/workflows/rust.yml | 6 +++--- deny.toml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dd159dd9..4d36984d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -86,10 +86,10 @@ jobs: - name: Run tests run: cargo test --verbose --features=${{ env['LATEST_LIBOSTREE'] }} cargo-deny: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: actions/checkout@v4 + - uses: EmbarkStudios/cargo-deny-action@v2 with: log-level: warn command: check bans sources licenses diff --git a/deny.toml b/deny.toml index 42ab9791..dce0330a 100644 --- a/deny.toml +++ b/deny.toml @@ -1,6 +1,4 @@ [licenses] -unlicensed = "deny" -copyleft = "allow" allow = ["Apache-2.0", "Apache-2.0 WITH LLVM-exception", "MIT", "BSD-3-Clause", "BSD-2-Clause", "Unlicense", "Unicode-DFS-2016", "Unicode-3.0"] private = { ignore = true }