Skip to content

Commit

Permalink
Merge pull request #155 from thinkgos/feature-ci-security-audit
Browse files Browse the repository at this point in the history
feature: add security audit
  • Loading branch information
baoyachi authored Feb 28, 2024
2 parents 380b495 + 8e966f9 commit 7102cc2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Security audit

on:
pull_request:
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'
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'

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: actions/checkout@v4
- name: Run audit
uses: actions-rust-lang/audit@v1

0 comments on commit 7102cc2

Please sign in to comment.