Skip to content

cpufeatures: release v0.2.17 (#1143) #2914

cpufeatures: release v0.2.17 (#1143)

cpufeatures: release v0.2.17 (#1143) #2914

name: Security Audit
on:
pull_request:
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
push:
branches: master
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
schedule:
- cron: "0 0 * * *"
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
security_audit:
permissions:
checks: write # for actions-rs/audit-check to create check
contents: read # for actions/checkout to fetch code
issues: write # for actions-rs/audit-check to create issues
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache cargo bin
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.21.1
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}