Skip to content

Commit

Permalink
CI: install cargo-audit
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rursprung committed Jan 27, 2025
1 parent 9d942ff commit accadcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
toolchain: ${{ matrix.rust }}
components: rustfmt clippy
- name: Install required cargo components
run: cargo +stable install clippy-sarif sarif-fmt
run: cargo +stable install cargo-audit clippy-sarif sarif-fmt
- name: build
run: cargo build ${{ matrix.features }}
- name: check
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
targets: thumbv7em-none-eabihf
components: rustfmt clippy
- name: Install required cargo components
run: cargo install clippy-sarif sarif-fmt flip-link
run: cargo install cargo-audit clippy-sarif sarif-fmt flip-link
- name: build
run: cargo build
working-directory: examples/stm32f4-event-printer
Expand Down

0 comments on commit accadcd

Please sign in to comment.