mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
c9eabf70e4
Busts the cache key so we use a newer version of `cargo-audit`
31 lines
689 B
YAML
31 lines
689 B
YAML
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 * * *"
|
|
|
|
jobs:
|
|
security_audit:
|
|
name: Security Audit
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: ~/.cargo/bin
|
|
key: ${{ runner.os }}-cargo-audit-v0.21.1
|
|
- uses: actions-rs/audit-check@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|