From 5407fc323ab9aa0c75ca8309caa047a8965d1db0 Mon Sep 17 00:00:00 2001 From: Rudy Matela Date: Mon, 26 Aug 2024 18:00:23 +0200 Subject: [PATCH] CI: run cabal update before cabal build ... to hopefully fix CI. The latest version of cabal returns this without the update first: Run cabal build cabal build shell: /usr/bin/bash -e {0} Error: [Cabal-7160] The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac76b0e..6b49ee5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,7 @@ jobs: - run: make test-sdist #- run: make test-via-cabal - run: cabal configure --enable-tests --enable-benchmarks --ghc-options="-O0" + - run: cabal update # latest version of cabal requires a package list to run... - run: cabal build - run: cabal test - run: cabal haddock