Skip to content

Commit ba5b0e9

Browse files
committed
ci: linux-x64: ghc 9.0.2; avoid yesod/aeson breakage
1 parent a25631c commit ba5b0e9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/linux-x64.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ jobs:
2121
container: alpine:edge
2222
steps:
2323

24-
- name: Setup environment
25-
# Borrowed from fossas/haskell-static-alpine, copied here for transparency
24+
- name: Set up environment
2625
run: |
2726
apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static
2827
mkdir -p ~/.ghcup/bin && curl https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
29-
~/.ghcup/bin/ghcup install ghc 9.0.1 && ~/.ghcup/bin/ghcup set ghc 9.0.1 && ~/.ghcup/bin/ghcup install cabal
28+
~/.ghcup/bin/ghcup install ghc 9.0.2 && ~/.ghcup/bin/ghcup set ghc 9.0.2 && ~/.ghcup/bin/ghcup install cabal
3029
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
3130
3231
- name: Check out
@@ -35,11 +34,11 @@ jobs:
3534
with:
3635
fetch-depth: 0
3736

38-
- name: Update cabal
37+
- name: cabal update
3938
run: cabal update
4039

4140
- name: Build on alpine
42-
run: cabal build --enable-executable-static all
41+
run: cabal build --enable-executable-static all --constraint 'aeson < 2' # avoid yesod/aeson breakage
4342

4443
- name: Extract and strip binaries
4544
run: |

0 commit comments

Comments
 (0)