Skip to content

Commit 6570416

Browse files
committed
fix: GHA example steps
Signed-off-by: Martijn Swaagman <[email protected]>
1 parent 4ce077a commit 6570416

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/rust.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,19 @@ jobs:
267267
run: cargo fmt -- --check
268268
- name: Format (manifest)
269269
run: cargo verify-project
270-
- run: cargo audit
271-
- run: cargo outdated --root-deps-only --exit-code 1
270+
- name: Cargo outdated
271+
run: cargo outdated --root-deps-only --exit-code 1
272+
272273
- name: Clippy (wasm32-unknown-unknown)
273274
run: cargo clippy --release --all-targets --target=wasm32-unknown-unknown
274275
- name: Build (wasm32-unknown-unknown)
275276
run: cargo build --release --all-targets --target=wasm32-unknown-unknown
276277
- name: Build (wasm32-wasi)
277278
run: cargo build --release --all-targets --target=wasm32-wasi
279+
280+
- name: Cargo audit
281+
if: matrix.example == 'hello_world'
282+
run: cargo audit --ignore RUSTSEC-2020-0159
283+
- name: Cargo audit
284+
if: matrix.example !== 'hello_world'
285+
run: cargo audit

0 commit comments

Comments
 (0)