stages: - test image: rust:latest before_script: - rustup component add clippy - rustup component add rustfmt clippy: stage: test script: - cargo clippy -- -D warnings rustfmt: stage: test script: - cargo fmt -- --check