Skip to content

Commit

Permalink
gha: updated nightly build (#4970)
Browse files Browse the repository at this point in the history
Use GHC-9.8.  There is an error when building
`typed-protocols-examples-0.5.0.0` with `GHC-9.6.2` (reproducible
locally):

```
<no location info>: error:
    expectJust ty_co_subst bad roles
CallStack (from HasCallStack):
  error, called at compiler/GHC/Data/Maybe.hs:71:27 in ghc:GHC.Data.Maybe
  expectJust, called at compiler/GHC/Core/Coercion.hs:2076:31 in ghc:GHC.Core.Coercion

```

Newer `GHC` versions work fine (e.g. `GHC-9.6.5`).
  • Loading branch information
coot authored Oct 1, 2024
1 parent d34cfd0 commit 750ce68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.10.3.0"
cabal-version: "3.12.1.0"
pacman-packages: >
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-openssl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["8.10.7", "9.6.2"]
ghc: ["8.10", "9.8"]
os: [ubuntu-latest]

env:
Expand All @@ -34,7 +34,7 @@ jobs:
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.10.1.0"
cabal-version: "3.12.1.0"
pacman-packages: >
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-openssl
Expand Down

0 comments on commit 750ce68

Please sign in to comment.