Skip to content

Commit 9c906a2

Browse files
committed
ci: Use "v2.0.0" branch for security check
Signed-off-by: John Nunley <[email protected]>
1 parent e874f70 commit 9c906a2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ jobs:
121121
runs-on: ubuntu-latest
122122
steps:
123123
- uses: actions/checkout@v4
124+
# rustsec/audit-check used to do this automatically
125+
- name: Generate Cargo.lock
126+
run: cargo generate-lockfile
124127
# https://github.com/rustsec/audit-check/issues/2
125-
- uses: rustsec/audit-check@master
128+
- uses: rustsec/audit-check@v2.0.0
126129
with:
127130
token: ${{ secrets.GITHUB_TOKEN }}

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ fastrand = "2.0.0"
4242
[target.'cfg(target_family = "wasm")'.dev-dependencies]
4343
wasm-bindgen-test = "0.3"
4444

45+
[lints.rust]
46+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
47+
4548
[features]
4649
default = ["std"]
4750
std = []

0 commit comments

Comments
 (0)