From bf6873b2bdf44d244a76e941561461210f92b9b6 Mon Sep 17 00:00:00 2001 From: "James Thomas Moon (@jtmoon79)" <815261+jtmoon79@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:45:31 -0800 Subject: [PATCH] (CI) add job_deny --- .github/workflows/rust.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c897d2e..9e85d5bd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -377,6 +377,21 @@ jobs: cargo check --locked --all-targets cargo check --locked --all-targets --release + job_deny: + name: cargo + needs: [job_rust_msrv_os] + runs-on: ubuntu-latest + steps: + - name: git checkout + uses: actions/checkout@v4 + - uses: moonrepo/setup-rust@v1 + with: + channel: ${{ env.MSRV_UPLOAD }} + bins: cargo-deny + - name: Run cargo-deny.sh + shell: bash + run: ./tools/cargo-deny.sh + job_clippy: # this job downloads and builds dependency crates name: clippy