From 21873534077323ecaf68be0ebc40898e3f1a06bf Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 24 Feb 2023 22:43:04 +0100 Subject: [PATCH] ci: update security audit --- .github/workflows/{audit-on-push.yml => rustsec.yml} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename .github/workflows/{audit-on-push.yml => rustsec.yml} (57%) diff --git a/.github/workflows/audit-on-push.yml b/.github/workflows/rustsec.yml similarity index 57% rename from .github/workflows/audit-on-push.yml rename to .github/workflows/rustsec.yml index 8832e599..532f7d6c 100644 --- a/.github/workflows/audit-on-push.yml +++ b/.github/workflows/rustsec.yml @@ -13,10 +13,11 @@ on: - "**/Cargo.lock" jobs: - security_audit: + audit: + name: Security audit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions-rs/audit-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo install --locked cargo-audit + - run: cargo audit --deny warnings