default: image: rust:latest fmt: stage: build script: - rustfmt --check tests/* - rustfmt --check src/*.rs - rustfmt --check src/stl/* - rustfmt --check src/bin/* lint: stage: build script: - cargo clippy allow_failure: true compile: stage: build script: - cargo build unit-tests: stage: test script: - cargo test