hoc/.github/workflows/audit.yml

22 lines
394 B
YAML
Raw Permalink Normal View History

name: Security audit
on:
schedule:
- cron: '0 1 * * *'
push:
2022-10-11 09:42:17 +02:00
branches:
- master
pull_request:
paths:
2020-11-23 14:11:18 +01:00
- '**/Cargo.toml'
- '**/Cargo.lock'
2022-10-11 09:42:17 +02:00
- ".cargo/audit.toml"
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
2022-10-11 09:42:17 +02:00
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}