Skip to content

Commit

Permalink
.github/workflows: Add cargo audit (#2430)
Browse files Browse the repository at this point in the history
Run cargo audit on each push and on a daily schedule.
  • Loading branch information
mxinden committed Mar 18, 2022
1 parent 7839e7b commit 6b5744c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cargo-audit.yml
@@ -0,0 +1,20 @@
name: cargo audit
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6b5744c

Please sign in to comment.