chore(gitlab-ci): add stack as input

This commit is contained in:
Sarah Vaupel 2024-01-18 04:23:23 +01:00
parent a712cf279d
commit f4b92dfd9d

View File

@ -97,7 +97,7 @@ frontend build:
backend lint:
stage: lint
script:
- "nix shell .#gnumake --command make CI=1 backend-lint"
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
before_script: *nix-before
retry: 2
interruptible: true
@ -112,7 +112,7 @@ backend build:
- .stack-work/
script:
- "nix shell .#gnumake --command make CI=1 backend-build"
- "nix shell .#gnumake .#stack --command make CI=1 backend-build"
- cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint
- cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod
before_script: *nix-before