CI: try moving clippy in testing stage

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-12-27 09:19:46 +01:00
parent c50e3adec6
commit c159f0b735
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -5,9 +5,9 @@ pipeline:
image: rustlang/rust:nightly-alpine image: rustlang/rust:nightly-alpine
commands: commands:
- cargo fmt --check - cargo fmt --check
- cargo clippy -- -Dwarnings
test: test:
image: rustlang/rust:nightly-alpine image: rustlang/rust:nightly-alpine
commands: commands:
- apk add --no-cache musl-dev - apk add --no-cache musl-dev
- cargo clippy -- -Dwarnings
- RUST_BACKTRACE=1 cargo test - RUST_BACKTRACE=1 cargo test