diff options
| author | Gus Power <gus@infinitesidequests.com> | 2025-05-12 15:59:16 +0100 |
|---|---|---|
| committer | Gus Power <gus@infinitesidequests.com> | 2025-05-12 15:59:16 +0100 |
| commit | 65746b829b8247ab366182ea028dc1eb0d21522a (patch) | |
| tree | c461ea26229177d74e0708bacc739c07892f6d1b /.github/workflows/audit.yml | |
| parent | 1d6fd8359fddbae8aeac17b90ed50d41143ffbb6 (diff) | |
add github template stuff as per https://rust-github.github.io/
Diffstat (limited to '.github/workflows/audit.yml')
| -rw-r--r-- | .github/workflows/audit.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 0000000..562d5e0 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,24 @@ +name: Security audit + +on: + schedule: + # Runs at 00:00 UTC everyday + - cron: '0 0 * * *' + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + pull_request: + +jobs: + audit: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - name: Run security audit + uses: rustsec/audit-check@v2.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + |
