Skip to content

Commit

Permalink
chore: update cargo audit (#2366)
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu authored Nov 4, 2024
1 parent b07c9fd commit 7d4620d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[advisories]
ignore = [
# `atty` is a dependency of `structopt` and only used in s2n-quic-qns and s2n-quic-sim
# https://github.com/aws/s2n-quic/issues/2324
"RUSTSEC-2021-0145",
# `atty` is a dependency of `structopt` and only used in s2n-quic-qns and s2n-quic-sim
# https://github.com/aws/s2n-quic/issues/2324
"RUSTSEC-2024-0375",
# ` proc-macro-error` is a dependency of `structopt` and only used in s2n-quic-qns and s2n-quic-sim
# https://github.com/aws/s2n-quic/issues/2324
"RUSTSEC-2024-0370",
# `ansi_term` is a dependency of `structopt` and only used in s2n-quic-qns and s2n-quic-sim
# https://github.com/aws/s2n-quic/issues/2324
"RUSTSEC-2021-0139"
]
16 changes: 15 additions & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rustsec/[email protected]
with:
submodules: true

- name: Install rust toolchain
id: toolchain
run: |
rustup toolchain install stable --profile minimal
rustup override set stable
- uses: camshaft/rust-cache@v1

- name: Run cargo build
run: cargo build

- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 7d4620d

Please sign in to comment.