Skip to content

Commit ddf1cc3

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 31752bb commit ddf1cc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
with:
2424
toolchain: ${{ matrix.rust }}
2525
components: rustfmt
26+
- name: Install required cargo components
27+
run: cargo install --locked cargo-audit
2628
- name: build
2729
run: cargo build ${{ matrix.features }}
2830
- name: check
@@ -44,7 +46,7 @@ jobs:
4446
targets: thumbv7em-none-eabihf
4547
components: rustfmt clippy
4648
- name: Install required cargo components
47-
run: cargo install clippy-sarif sarif-fmt flip-link
49+
run: cargo install --locked cargo-audit clippy-sarif sarif-fmt flip-link
4850
- name: build
4951
run: cargo build
5052
working-directory: examples/stm32f4-single-motor-example

0 commit comments

Comments
 (0)