From 33d906f50d57f20afadaa248b58700541d86d2f4 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Thu, 25 Jul 2024 10:06:28 +0200 Subject: [PATCH] chore: fix clippy pipeline --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93a37af..e6004b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,16 +18,19 @@ cargo:fmtcheck: - cargo fmt --all -- --check cargo:clippy: - image: "rust:slim" stage: check variables: RUSTFLAGS: "-Dwarnings" script: - - cp src/constants.rs.in src/constants.rs - apt-get update - apt-get install libgtk-4-dev libadwaita-1-dev libssl-dev libjxl-dev libvte-2.91-gtk4-dev meson ninja-build git desktop-file-utils gettext file libusb-dev libusb-1.0-0-dev curl -y + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh + - chmod +x /tmp/rustup.sh + - /tmp/rustup.sh -y + - source "$HOME/.cargo/env" - rustup component add clippy - rustc -Vv && cargo -Vv + - cp src/constants.rs.in src/constants.rs - cargo clippy --version - cargo clippy --all-targets --all-features