chore: clippy in ci

This commit is contained in:
Gabriele Musco 2024-07-25 09:59:19 +02:00
commit f1e04fe5c0

View file

@ -17,6 +17,18 @@ cargo:fmtcheck:
- cargo fmt --version
- cargo fmt --all -- --check
cargo:clippy:
image: "rust:slim"
stage: check
variables:
RUSTFLAGS: "-Dwarnings"
script:
- cp src/constants.rs.in src/constants.rs
- rustup component add clippy
- rustc -Vv && cargo -Vv
- cargo clippy --version
- cargo clippy --all-targets --all-features
cargo:test:
stage: test
script: