ci: move the linter to be before the build so that if its wrong it will fail faster

This commit is contained in:
silver 2023-10-27 03:12:51 +01:00
parent 8e1eb5c192
commit 9c90aa856a

View file

@ -81,6 +81,12 @@ update:
- machines/**/*
- secrets/**/*
linter:
<<: *builder
stage: test
script:
- nix --extra-experimental-features 'nix-command flakes' fmt -- --check .
build:
<<: *builder
stage: test
@ -91,12 +97,6 @@ build:
- colmena build --on @active-ext
- colmena build --on @active-gitlab
linter:
<<: *builder
stage: test
script:
- nix --extra-experimental-features 'nix-command flakes' fmt -- --check .
# dns always has to be deployed first
deploy_dns:
<<: *builder