summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-10-09 13:07:09 +0200
committerAzul <azul@riseup.net>2020-10-09 15:24:59 +0200
commit7a4090a30dcab63f41ff40535bccf456382129bd (patch)
treefed53170aaa40a88ff0bd0bade106edd76c88b54
parent071e0769e443391ac807b8ff6960a2de9c52f629 (diff)
ci: fail fast if codespell fails
Abort the ci run if codespell fails. Rust-stable was marked as independent of codespell which makes it start right away. If codespell fails and rust-stable still runs gitlab will show the state of the entire pipeline as pending. In some places it also displays the state of the different stages. Here one can see that the .pre stage already failed. But it would be nice to get this feedback everywhere asap. This means that the build jobs have to wait ~20sec. for codespell. But the faster indication of syntax errors is worth that.
-rw-r--r--.gitlab-ci.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26d676de..440f6446 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,7 +54,6 @@ rust-stable:
- linux
stage: build
image: rust:1-slim-buster
- needs: []
before_script:
- apt update -y -qq