Use prebuilt cargo-udeps binary in CI

Same change as https://github.com/rp-rs/rp-hal/pull/534
This commit is contained in:
Jan Niehusmann 2023-05-02 07:56:35 +00:00 committed by Wilfried Chauveau
parent 53ee09ec70
commit 37d895244b

View file

@ -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 }}