image: rust:1.41 stages: - main cache: paths: - target test: stage: main script: - rustup component add clippy - rustup component add rustfmt - cargo test - cargo clippy --all-targets --all-features -- -D warnings - cargo fmt --all -- --check