Skip to content

Commit

Permalink
chore: adds cargo adit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Feb 22, 2024
1 parent 2bc030c commit 6258391
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Cargo Audit

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'

env:
CARGO_TERM_COLOR: always

github-token:
action-input:
input: token
is-default: false
permissions:
issues: write
issues-reason: to create issues
checks: write
checks-reason: to create check

jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6258391

Please sign in to comment.