From e80debe4c9df860a4cd9da3cd86d980c1dd7dd3e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 2 Dec 2024 21:07:34 -1000 Subject: [PATCH] ;ci:linux: work around yesod-core/wai-extra bound issue https://github.com/commercialhaskell/stackage/issues/7570 --- .github/workflows/binaries-linux-x64.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/binaries-linux-x64.yml b/.github/workflows/binaries-linux-x64.yml index 96bb3154b..9f15e6fc5 100644 --- a/.github/workflows/binaries-linux-x64.yml +++ b/.github/workflows/binaries-linux-x64.yml @@ -60,10 +60,11 @@ jobs: cabal update - name: Build with cabal + # - wai-extra < 3.1.17 # https://github.com/commercialhaskell/stackage/issues/7570 run: | - cabal build --enable-executable-static --ghc-options=-Werror hledger || (echo "ERROR: building hledger failed"; false) - cabal build --enable-executable-static --ghc-options=-Werror hledger-ui || (echo "ERROR: building hledger-ui failed"; false) - cabal build --enable-executable-static --ghc-options=-Werror hledger-web || (echo "ERROR: building hledger-web failed"; false) + cabal build --enable-executable-static --ghc-options=-Werror hledger --constraint='wai-extra <3.1.17' || (echo "ERROR: building hledger failed"; false) + cabal build --enable-executable-static --ghc-options=-Werror hledger-ui --constraint='wai-extra <3.1.17' || (echo "ERROR: building hledger-ui failed"; false) + cabal build --enable-executable-static --ghc-options=-Werror hledger-web --constraint='wai-extra <3.1.17' || (echo "ERROR: building hledger-web failed"; false) - name: Gather binaries run: |