Skip to content

Commit 426777b

Browse files
authored
CI: fix security audit (#1698)
Ignores RUSTSEC-2024-0436: `paste` is unmaintained
1 parent 8ccef60 commit 426777b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.cargo/audit.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[advisories]
22
ignore = [
3-
"RUSTSEC-2021-0127", # serde_cbor is unmaintained
4-
"RUSTSEC-2023-0071", # rsa: Marvin Attack: potential key recovery
5-
]
3+
"RUSTSEC-2024-0436", #paste
4+
] # advisory IDs to ignore e.g. ["RUSTSEC-2019-0001", ...]

.github/workflows/security-audit.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ jobs:
2121
- uses: dtolnay/rust-toolchain@master
2222
with:
2323
toolchain: stable
24-
# TODO(tarcieri): investigate why cached binaries aren't working
25-
#- uses: actions/cache@v4
26-
# with:
27-
# path: ~/.cargo/bin
28-
# key: ${{ runner.os }}-cargo-audit-v0.20
24+
- uses: actions/cache@v4
25+
with:
26+
path: ~/.cargo/bin
27+
key: ${{ runner.os }}-cargo-audit-v0.21.2
2928
- uses: rustsec/audit-check@v2
3029
with:
3130
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)