From e07d0157af84679064621e173d45b13b0eb2d49f Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 13 Jun 2024 03:08:47 +0200 Subject: [PATCH] chore(gitlab-ci): use -prod build targets in backend-build and backend-lint --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7752bcc1..3c836892e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -114,7 +114,7 @@ backend lint: cache: - *stack-cache script: - - "nix shell .#gnumake .#stack --command make CI=1 backend-lint" + - "nix shell .#gnumake .#stack --command make backend-lint-prod" before_script: *nix-before needs: - job: backend dependencies @@ -154,7 +154,7 @@ backend build: cache: - *stack-cache script: - - "nix shell .#gnumake .#coreutils .#stack --command make CI=1 backend-build" + - "nix shell .#gnumake .#coreutils .#stack --command make backend-build-prod" - 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