Skip to content

Commit

Permalink
Use GH token for audit check
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Aug 27, 2024
1 parent 30a9acb commit 80d2073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ jobs:

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

# runs cargo audit
cargo-audit:
name: cargo audit
runs-on: SubtensorCI
Expand All @@ -218,6 +218,8 @@ jobs:

- name: Audit check
uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# runs cargo test --workspace
cargo-test:
name: cargo test
Expand Down

0 comments on commit 80d2073

Please sign in to comment.