From 6c3163da4be50bc7ac674d9adcc385f66e370461 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Tue, 14 Feb 2023 16:22:02 +0100 Subject: [PATCH] CI: Install cargo-udeps in a more straightforward way --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4dae0d4..7d4e1f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: [ ]