chore(gitlab-ci): restructure based on stages

This commit is contained in:
Sarah Vaupel 2024-06-13 02:27:08 +02:00
parent 6a46f91cc0
commit 7a34641e42

View File

@ -109,6 +109,20 @@ frontend lint:
retry: 2
interruptible: true
backend lint:
stage: lint
cache:
- *stack-cache
script:
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
before_script: *nix-before
needs:
- job: backend dependencies
artifacts: true
retry: 2
interruptible: true
frontend build:
stage: build
cache:
@ -135,19 +149,6 @@ frontend build:
retry: 2
interruptible: true
backend lint:
stage: lint
cache:
- *stack-cache
script:
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
before_script: *nix-before
needs:
- job: backend dependencies
artifacts: true
retry: 2
interruptible: true
backend build:
stage: build
cache: