Skip to content

Commit

Permalink
Migrate to haskell-actions/setup
Browse files Browse the repository at this point in the history
As of 2023-09-09, haskell/action/setup is no longer maintained.

The comment

  # latest is mandatory for cabal-testsuite, see #8133

is removed; as the validate job was already fixing a version of cabal-install.

(cherry picked from commit 8e09697)

# Conflicts:
#	.github/workflows/validate.yml
  • Loading branch information
andreabedini authored and jasagredo committed Dec 16, 2023
1 parent ebf64c5 commit 61d3c18
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
sudo chown -R $USER /usr/local/.ghcup
sudo chmod -R 777 /usr/local/.ghcup
fi
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand Down Expand Up @@ -356,11 +356,12 @@ jobs:
apt-get update
apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10.1.0'
# Make sure this bindist works in this old environment
cabal-version: 3.10.1.0

# As we are reusing the cached build dir from the previous step
# the generated artifacts are available here,
Expand Down Expand Up @@ -415,7 +416,7 @@ jobs:
sudo chown -R $USER /usr/local/.ghcup
sudo chmod -R 777 /usr/local/.ghcup
fi
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand Down

0 comments on commit 61d3c18

Please sign in to comment.