Skip to content

Commit

Permalink
Add security audit to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Dec 15, 2024
1 parent 0719610 commit ce2bc2b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Audit Dependencies"

on:
push:
paths:
# Run if workflow changes
- '.github/workflows/audit.yml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
schedule:
# run weekly
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
audit:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies

0 comments on commit ce2bc2b

Please sign in to comment.