From b79138d87dcf766f0b5d617a974200a054952887 Mon Sep 17 00:00:00 2001 From: Fraser Hutchison <190532+Fraser999@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:30:49 +0100 Subject: [PATCH] chore(ci): upgrade audit-check (#1577) ## Summary This is an upgrade of the `audit-check` package used in CI for running `cargo audit`. ## Background This upgrade includes [a fix](https://github.com/rustsec/audit-check/pull/20) for an issue where `audit-check` would not respect the committed `Cargo.lock` file. ## Changes - Upgrade `audit-check`. --- .github/workflows/scheduled.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index a7aa53ba49..45549618ed 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -11,6 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: rustsec/audit-check@v1.4.1 + - uses: rustsec/audit-check@v2.0.0 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3d9a6b3c1..0ebe04560b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -127,7 +127,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ env.RUSTUP_TOOLCHAIN }} - - uses: rustsec/audit-check@v1.4.1 + - uses: rustsec/audit-check@v2.0.0 with: token: ${{ secrets.GITHUB_TOKEN }}