ci: Move style check to its own stage
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 9 Sep 2022 22:39:20 +0000 (23:39 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 9 Sep 2022 23:16:12 +0000 (00:16 +0100)
Drop the `.pre` phase.

.gitlab-ci.yml

index 495dfea98eda64a0ae8e768af858d45327f8afe5..8829a100c09f080a525ce20ac1689d0c1cedc40b 100644 (file)
@@ -3,6 +3,7 @@ include:
     file: 'flatpak/flatpak_ci_initiative.yml'
 
 stages:
+  - check
   - build
   - analysis
   - docs
@@ -37,7 +38,7 @@ variables:
 style-check-diff:
   extends: .only-default
   image: $FEDORA_IMAGE
-  stage: .pre
+  stage: check
   allow_failure: true
   script:
     - .gitlab-ci/run-style-check-diff.sh