Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update cargo audit #2366

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading