ci: move the linter to be before the build so that if its wrong it will fail faster
This commit is contained in:
parent
8e1eb5c192
commit
9c90aa856a
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue