stages: - lint - correct check-format: stage: lint image: rust:latest script: - rustup component add rustfmt - cargo fmt --check run-tests: stage: correct image: rust:1.94.1 needs: ["check-format"] script: - cargo test -- --test-threads=1