variables:
RUST_BACKTRACE: "1"
RUSTFLAGS: -D warnings
TIME: "Time: %E, CPU: %P"
cache:
key: "$CI_JOB_NAME"
paths:
- target/
test:
image: rust:slim
script:
- cargo test --locked
- rustup component add clippy
- cargo clippy --all-targets --all-features -- -D warnings
- cargo test --locked --release