Fix clippy lints and add clippy to CI
See merge request iwj/hippotat!74
stage: test
image: "rust:latest"
script:
- - cargo test --locked --workspace --verbose --all-features
+ - cargo test --locked --workspace --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"