Skip to content

Commit

Permalink
add: security audit
Browse files Browse the repository at this point in the history
Signed-off-by: Mahdi Baghbani <[email protected]>
  • Loading branch information
MahdiBaghbani committed Dec 10, 2023
1 parent 9fe406f commit 65ee3c4
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ on:
# (optional) Run workflow when pushing on master.
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
# Run if workflow changes
- '.github/workflows/audit.yaml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
pull_request:

permissions: read-all

jobs:
audit:
general_audit:
runs-on: ubuntu-22.04
strategy:
matrix:
Expand All @@ -37,10 +44,15 @@ jobs:

security_audit:
runs-on: ubuntu-22.04
permissions:
issues: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4

- name: Security Audit
- name: Audit Rust Dependencies
uses: actions-rust-lang/audit@v1
with:
# Comma separated list of issues to ignore
ignore: RUSTSEC-2020-0071

0 comments on commit 65ee3c4

Please sign in to comment.