Skip to content

Commit

Permalink
CI: update security-audit config (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Jan 25, 2025
1 parent ca3d1c2 commit 41a653a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: Security Audit

on:
pull_request:
paths: Cargo.lock
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
push:
branches: master
paths: Cargo.lock
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
schedule:
- cron: "0 0 * * *"

permissions: # added using https://github.com/step-security/secure-repo
permissions: # added using https://github.com/step-security/secure-repo
contents: read

jobs:
Expand All @@ -26,7 +30,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
- uses: actions-rs/audit-check@v1
key: ${{ runner.os }}-cargo-audit-v0.21.1
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 41a653a

Please sign in to comment.