From 561bf1b7c6f08dfcb6e4bafbe7c4200c4eda6c71 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Mar 2023 22:09:23 -0400 Subject: [PATCH] CI GHC 9.6: cabal-plan allow-newer base (TODO: revert) --- .github/workflows/validate.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index fbbbbc45b..3bb243097 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -97,7 +97,7 @@ jobs: - name: Install cabal-plan run: | cd $(mktemp -d) - cabal install cabal-plan --constraint='cabal-plan +exe' + cabal install cabal-plan --allow-newer="base" --constraint='cabal-plan +exe' echo "$HOME/.cabal/bin:$HOME/.local/bin" >> $GITHUB_PATH # The tool is not essential to the rest of the test suite. If @@ -254,7 +254,7 @@ jobs: - name: Install cabal-plan run: | cd $(mktemp -d) - cabal install cabal-plan --constraint='cabal-plan +exe' --allow-newer + cabal install cabal-plan --allow-newer="base" --constraint='cabal-plan +exe' echo "$HOME/.cabal/bin:$HOME/.local/bin" >> $GITHUB_PATH # The tool is not essential to the rest of the test suite. If @@ -376,7 +376,7 @@ jobs: - name: Install cabal-plan run: | cd $(mktemp -d) - cabal install cabal-plan --constraint='cabal-plan +exe' + cabal install cabal-plan --allow-newer="base" --constraint='cabal-plan +exe' echo "$HOME/.cabal/bin:$HOME/.local/bin" >> $GITHUB_PATH - name: Validate build @@ -424,7 +424,7 @@ jobs: - name: Install cabal-plan run: | cd $(mktemp -d) - cabal install cabal-plan --constraint='cabal-plan +exe' + cabal install cabal-plan --allow-newer="base" --constraint='cabal-plan +exe' echo "$HOME/.cabal/bin:$HOME/.local/bin" >> $GITHUB_PATH - name: Download cabal executable from workflow artifacts -- 2.11.4.GIT