Skip to content

Commit 67e7820

Browse files
ci: Try using older version of ghc-source-gen (#228)
There is a build failure with ghc-source-gen-0.4.4.0 when using GHC 8.10, so tell cabal to use an older version.
1 parent 1d0b24e commit 67e7820

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/protobuf.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- 'scip.proto'
1010
- 'buf**'
1111
- '.tool-versions'
12+
- 'dev/proto-generate.sh'
1213

1314
jobs:
1415
protoc-gen-up-to-date:

dev/proto-generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
echo "--- Haskell ---"
2121
command -v cabal > /dev/null 2>&1 || { echo >&2 "Haskell's 'cabal' command is not installed. Please install it first via https://www.haskell.org/ghcup/"; exit 1; }
22-
cabal install proto-lens-protoc-0.7.1.1 --overwrite-policy=always --ghc-options='-j2 +RTS -A32m'
22+
cabal install proto-lens-protoc-0.7.1.1 ghc-source-gen-0.4.3.0 --overwrite-policy=always --ghc-options='-j2 +RTS -A32m'
2323
ln -sfv `which proto-lens-protoc` "$PWD/.bin/protoc-gen-haskell"
2424
PATH="$PWD/.bin:$PATH"
2525

0 commit comments

Comments
 (0)