Skip to content

Commit 6dfb5f5

Browse files
committed
CI: build haddocks
`cabal build` succeeds when haddock fails, use `cabal haddock` instead.
1 parent df0ddc9 commit 6dfb5f5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/cabal.project.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
documentation: True
1+
documentation: False
22
tests: True
33
benchmarks: True
44

.github/workflows/haskell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
- name: Build projects [build]
122122
run: cabal build all
123123

124+
- name: Build documentation [haddock]
125+
run: cabal haddock all
126+
124127
- name: io-sim [test]
125128
run: cabal run io-sim:test
126129

0 commit comments

Comments
 (0)