From 1c901328702d39412b3bd8daba1f9a2e1f3c3cc8 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 16 Mar 2020 18:35:21 -0700 Subject: [PATCH] ci: windows: avoid GHC 8.8.3, having trouble with Decimal --- .github/workflows/windows-nightly.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 16aa2ccb2..b121b295a 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -1,7 +1,8 @@ # basic hledger/hledger-web build testing, and binary building, # on windows, run nightly +# Using GHC 8.8.2 to avoid "access violation" error with 8.8.3 -name: windows nightly CI +name: windows nightly CI with GHC 8.8.2 on: # run nightly @@ -115,7 +116,7 @@ jobs: # if: steps.stack-programs-dir.outputs.cache-hit != 'true' # set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH% run: | - stack --no-terminal setup --install-ghc + stack --resolver=lts-15.3 --no-terminal setup --install-ghc # - name: Install shelltestrunner ## - export PATH=~/.local/bin:$PATH @@ -124,11 +125,11 @@ jobs: - name: Install haskell deps run: | - stack --no-terminal build --only-dependencies + stack --resolver=lts-15.3 --no-terminal build --only-dependencies - name: Build hledger executables run: | - stack --no-terminal install --ghc-options=-Werror + stack --resolver=lts-15.3 --no-terminal install --ghc-options=-Werror # --pedantic # run hledger-lib/hledger functional tests, skipping the ones for addons