Credix liquidity exchange IX #1169
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: Cargo Audit | |
on: | |
pull_request: | |
branches: [main, develop] | |
push: | |
branches: [main, develop] | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
# Run the job | |
jobs: | |
cargo-audit: | |
name: Cargo Vulnerability Scanner | |
runs-on: ubuntu-latest | |
steps: | |
# Check out GitHub repo | |
- uses: actions/checkout@v2 | |
# Install cargo audit | |
- name: Install Cargo Audit | |
uses: actions-rs/[email protected] | |
with: | |
crate: cargo-audit | |
version: latest | |
# Run cargo audit using args from .cargo/audit.toml (ignores, etc.) | |
- name: Run Cargo Audit | |
# Ignoring warnings | |
# - RUSTSEC-2020-0071 -> No fixes available, ignored by solana-labs: https://github.com/solana-labs/solana/blob/master/ci/do-audit.sh | |
# - RUSTSEC-2022-0093 -> No fixes available, ignored by solana-labs: https://github.com/solana-labs/solana/blob/master/ci/do-audit.sh | |
# - RUSTSEC-2023-0001 -> No fixes available, ignored by solana-labs: https://github.com/solana-labs/solana/blob/master/ci/do-audit.sh | |
run: > | |
cargo audit -c always | |
--ignore RUSTSEC-2020-0071 | |
--ignore RUSTSEC-2022-0093 | |
--ignore RUSTSEC-2023-0001 | |
--ignore RUSTSEC-2024-0344 |