From f4b92dfd9db7c549e86ed5bf88633e93f2faa399 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 18 Jan 2024 04:23:23 +0100 Subject: [PATCH] chore(gitlab-ci): add stack as input --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 569ed6c5f..f9a1a62b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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