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