Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
script:
- cargo test --locked --workspace --verbose --all-features
+cargo-clippy:
+ stage: test
+ # This can fail when new lints turn up. So we pin the compiler.
+ # We should update this (when we switch from trixie to forky, at least).
+ image: "rust:1.95.0"
+ script:
+ - rustup component add clippy
+ - cargo clippy --locked --workspace --all-features
+
cargo-update-test-nightly:
stage: test
image: "rustlang/rust:nightly"