diff options
| -rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 207e10d..b0a26ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,9 @@ stages: + - lint - correct check-format: - stage: correct + stage: lint image: rust:latest script: - rustup component add rustfmt @@ -11,5 +12,6 @@ check-format: run-tests: stage: correct image: rust:1.94.1 + needs: ["check-format"] script: - cargo test -- --test-threads=1 |
