Security Audit #490
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: | |
- Cargo.lock | |
merge_group: | |
push: | |
branches: | |
- main | |
paths: | |
- Cargo.lock | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
security_audit: | |
name: Security Audit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install cargo audit | |
run: cargo install cargo-audit | |
# RUSTSEC-2021-0145: `atty` transitive dependency, only informational for Windows (not exploitable in practice) | |
# RUSTSEC-2023-0033: fixed until https://github.com/near/borsh-rs/issues/19 | |
- run: cargo audit --deny warnings --ignore RUSTSEC-2021-0145 --ignore RUSTSEC-2023-0033 |