update workflows

This commit is contained in:
Dustin J. Mitchell 2024-04-21 17:25:59 -04:00
parent 31cb732f06
commit 2dba081381
No known key found for this signature in database
2 changed files with 38 additions and 0 deletions

20
.github/workflows/security.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: security
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
audit:
runs-on: ubuntu-latest
permissions: write-all
name: "Audit Rust Dependencies"
steps:
- uses: actions/checkout@v4
- uses: rustsec/audit-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}