Skip to content

Commit

Permalink
Add cargo audit to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Aug 27, 2024
1 parent 939f21c commit 30a9acb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,16 @@ jobs:

- name: cargo clippy --workspace --all-targets --all-features -- -D warnings
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

cargo-audit:
name: cargo audit
runs-on: SubtensorCI
steps:
- name: Check-out repositoroy under $GITHUB_WORKSPACE
uses: actions/checkout@v4

- name: Audit check
uses: rustsec/audit-check@v1.4.1
# runs cargo test --workspace
cargo-test:
name: cargo test
Expand Down

0 comments on commit 30a9acb

Please sign in to comment.