Skip to content

[WIP] Vbrunet/2023 08 01 credix redeem modernized #896

[WIP] Vbrunet/2023 08 01 credix redeem modernized

[WIP] Vbrunet/2023 08 01 credix redeem modernized #896

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 from solana_program_test dependencies which are only in dev dependencies
run: cargo audit -c always --ignore RUSTSEC-2023-0001 --ignore RUSTSEC-2020-0071