cargo-test: image: rust:latest variables: CARGO_HOME: "$CI_PROJECT_DIR/cache/" cache: paths: - "cache" before_script: - rustc -V script: - cargo test cargo-lint: image: rust:latest variables: CARGO_HOME: "$CI_PROJECT_DIR/cache/" cache: paths: - "cache" before_script: - rustc -V - rustup component add clippy script: - cargo clippy pages: image: alpine:latest script: - echo "noop" artifacts: paths: - public only: - master