Skip to content

Commit

Permalink
Configure security audit on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 9, 2024
1 parent 380d579 commit 82cf46f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Security audit

on:
push:
branches: ["main"]
tags: ["v*"]
paths: ["**/Cargo.toml"]
pull_request:
branches: ["main"]
paths: ["**/Cargo.toml"]
schedule:
- cron: "7 7 * * *"

jobs:
cargo-audit:
name: cargo audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable

- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 82cf46f

Please sign in to comment.