Merge pull request #165 from baoyachi/issue/153 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |