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/**/*
|
- machines/**/*
|
||||||
- secrets/**/*
|
- secrets/**/*
|
||||||
|
|
||||||
|
linter:
|
||||||
|
<<: *builder
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- nix --extra-experimental-features 'nix-command flakes' fmt -- --check .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
<<: *builder
|
<<: *builder
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -91,12 +97,6 @@ build:
|
||||||
- colmena build --on @active-ext
|
- colmena build --on @active-ext
|
||||||
- colmena build --on @active-gitlab
|
- 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
|
# dns always has to be deployed first
|
||||||
deploy_dns:
|
deploy_dns:
|
||||||
<<: *builder
|
<<: *builder
|
||||||
|
|
Loading…
Reference in a new issue