CI: Install cargo-udeps in a more straightforward way

This commit is contained in:
Wiktor Kwapisiewicz 2023-02-14 16:22:02 +01:00
parent 3c3051e31e
commit 6c3163da4b
No known key found for this signature in database
GPG key ID: E68BE3B312FA33FC

View file

@ -88,8 +88,7 @@ udeps:
- apt update -y -qq
- apt install -y -qq --no-install-recommends curl git clang make pkg-config nettle-dev libssl-dev capnproto ca-certificates libpcsclite-dev
- apt clean
- curl --location --output /tmp/cargo-udeps.tar.gz https://github.com/est31/cargo-udeps/releases/download/v0.1.33/cargo-udeps-v0.1.33-x86_64-unknown-linux-gnu.tar.gz
- tar --extract --verbose --gzip --file /tmp/cargo-udeps.tar.gz --directory /usr/local/bin/ --strip-components=2 ./cargo-udeps-v0.1.33-x86_64-unknown-linux-gnu/cargo-udeps
- cargo install cargo-udeps
script:
- cargo udeps --workspace --all-features --all-targets
cache: [ ]