From 1eee7f02084070e16cd2a5227a725ca7cd441b44 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 7 Nov 2023 04:47:04 -0800 Subject: [PATCH] ci: fix some redundant building of hledger-lib and hledger --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1f661c47..ce87006ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -249,10 +249,11 @@ jobs: env: stack: ${{ matrix.plan.stack }} run: | - $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-lib - $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger - $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-ui - $stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-web + # These previously used --force-dirty for some reason.. but that caused four hledger-lib builds and three hledger builds. + $stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-lib + $stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger + $stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-ui + $stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-web # --ghc-options=-split-sections --no-terminal if: env.CONTINUE