From 70f66b00813c23ee40ed5b345d06e1bbab7f1262 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 12 Oct 2024 08:19:50 -0600 Subject: [PATCH] CI: bump `cargo-audit` to v0.20 (#1695) --- .github/workflows/security-audit.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 6eaf0e52..154937a1 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -1,7 +1,9 @@ name: Security Audit on: pull_request: - paths: '**/Cargo.lock' + paths: + - .github/workflows/security-audit.yml + - '**/Cargo.lock' push: branches: master paths: '**/Cargo.lock' @@ -18,7 +20,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.12.0 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -35,7 +37,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.12.0 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -52,7 +54,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.12.0 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -69,7 +71,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.12.0 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -86,7 +88,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/bin - key: ${{ runner.os }}-cargo-audit-v0.12.0 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}