aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
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
XMR address: 854DmXNrxULU3ZFJVs4Wc8PFhbq29RhqHhY8W6cdWrtFN3qmooKyyeYPcDzZTNRxphhJ5UzASQfAdEMwSteVqymk28aLhqj