]> git.lizzy.rs Git - PAKEs.git/blob - .github/workflows/security-audit.yml
Update actions used in GitHub Actions workflows to newest version (#106)
[PAKEs.git] / .github / workflows / security-audit.yml
1 name: Security Audit
2 on:
3   pull_request:
4     paths: Cargo.lock
5   push:
6     branches: master
7     paths: Cargo.lock
8   schedule:
9     - cron: "0 0 * * *"
10
11 jobs:
12   security_audit:
13     name: Security Audit
14     runs-on: ubuntu-latest
15     steps:
16       - uses: actions/checkout@v3
17       - name: Cache cargo bin
18         uses: actions/cache@v3
19         with:
20           path: ~/.cargo/bin
21           key: ${{ runner.os }}-cargo-audit-v0.14.1
22       - uses: actions-rs/audit-check@v1
23         with:
24           token: ${{ secrets.GITHUB_TOKEN }}