Skip to content

Commit 102ff70

Browse files
committed
update cargo audit
1 parent 6369ef3 commit 102ff70

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.cargo/audit.toml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[advisories]
2+
ignore = [
3+
# `atty` is a dependency of structopt and only used in s2n-quic-qns and s2n-quic-sim
4+
"RUSTSEC-2021-0145",
5+
# `atty` is a dependency of structopt and only used in s2n-quic-qns and s2n-quic-sim
6+
"RUSTSEC-2024-0375"
7+
]

.github/workflows/dependencies.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,21 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
31-
- uses: rustsec/audit-check@v1.4.1
31+
with:
32+
submodules: true
33+
34+
- name: Install rust toolchain
35+
id: toolchain
36+
run: |
37+
rustup toolchain install stable --profile minimal
38+
rustup override set stable
39+
40+
- uses: camshaft/rust-cache@v1
41+
42+
- name: Run cargo build
43+
run: cargo build
44+
45+
- uses: rustsec/audit-check@v2.0.0
3246
with:
3347
token: ${{ secrets.GITHUB_TOKEN }}
3448

0 commit comments

Comments
 (0)