diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 41ca7060..09485e6a 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: + - Cargo.lock + - .github/workflows/security-audit.yml 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 + key: ${{ runner.os }}-cargo-audit-v0.20 - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}