Skip to content

Commit accadcd

Browse files
committed
CI: install cargo-audit
GitHub recently changed the runners default image from Ubuntu 22.04 to 24.04 and in the process also changed the list of installed software. it seems, that `cargo-audit` is no longer installed by default. thus we now have to explicitly install it.
1 parent 9d942ff commit accadcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
toolchain: ${{ matrix.rust }}
2525
components: rustfmt clippy
2626
- name: Install required cargo components
27-
run: cargo +stable install clippy-sarif sarif-fmt
27+
run: cargo +stable install cargo-audit clippy-sarif sarif-fmt
2828
- name: build
2929
run: cargo build ${{ matrix.features }}
3030
- name: check
@@ -54,7 +54,7 @@ jobs:
5454
targets: thumbv7em-none-eabihf
5555
components: rustfmt clippy
5656
- name: Install required cargo components
57-
run: cargo install clippy-sarif sarif-fmt flip-link
57+
run: cargo install cargo-audit clippy-sarif sarif-fmt flip-link
5858
- name: build
5959
run: cargo build
6060
working-directory: examples/stm32f4-event-printer

0 commit comments

Comments
 (0)