mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 04:31:30 +11:00
Use prebuilt cargo-udeps binary in CI
Same change as https://github.com/rp-rs/rp-hal/pull/534
This commit is contained in:
parent
53ee09ec70
commit
37d895244b
8
.github/workflows/build_and_test.yml
vendored
8
.github/workflows/build_and_test.yml
vendored
|
@ -48,9 +48,7 @@ jobs:
|
|||
target: thumbv6m-none-eabi
|
||||
override: true
|
||||
profile: minimal
|
||||
- name: Install cargo-udeps
|
||||
run: curl --location "https://github.com/est31/cargo-udeps/releases/download/v0.1.35/cargo-udeps-v0.1.35-x86_64-unknown-linux-gnu.tar.gz" --output - | tar --strip-components=2 -C ~/.cargo/bin -xzvvf - ./cargo-udeps-v0.1.35-x86_64-unknown-linux-gnu/cargo-udeps
|
||||
- name: Check unused deps
|
||||
uses: aig787/cargo-udeps-action@v1
|
||||
with:
|
||||
version: latest
|
||||
args: ${{ matrix.mode }} --workspace ${{ matrix.features }}
|
||||
|
||||
run: cargo udeps ${{ matrix.mode }} --workspace ${{ matrix.features }}
|
||||
|
|
Loading…
Reference in a new issue