default: image: rust:latest before_script: - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none stages: - build - test build-job: stage: build script: - echo "Compiling the code..." - cargo build - echo "Compile complete." unit-test-job: stage: test script: - echo "Running unit tests..." - cargo test - echo "Code coverage is 90%" lint-test-job: stage: test script: - echo "Linting code... This will take about 10 seconds." - cargo clippy - echo "No lint issues found."