Skip to content

Commit

Permalink
Work around haskell/haddock#574
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Mar 5, 2023
1 parent e626eee commit b025b07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
${CABAL} -vnormal check
- name: haddock
run: |
$CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
if [ $((HCNUMVER < 80000 || HCNUMVER >= 80400)) -ne 0 ] ; then $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi
- name: save cache
uses: actions/cache/save@v3
if: always()
Expand Down
2 changes: 2 additions & 0 deletions cabal.haskell-ci
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ distribution: bionic
no-tests-no-benchmarks: False
unconstrained: False
local-ghc-options: -Werror
-- Work around https://github.com/haskell/haddock/issues/574
haddock: <8.0 || >=8.4

0 comments on commit b025b07

Please sign in to comment.