Skip to content

Commit c686b9d

Browse files
committed
[github] arm "cabal check" workflow
1 parent 6304275 commit c686b9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/haskell.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,12 @@ jobs:
7878
- name: check
7979
shell: bash
8080
run: |
81+
ok=x
8182
for i in */*.cabal; do
82-
( cd "${i%/*}" && cabal check ) || break
83+
( cd "${i%/*}" && echo "[${i%/*}]" && cabal check ) || ok=
8384
done
85+
echo "[ok=$ok]"
86+
[ "$ok" ] || exit 1
8487
8588
- name: documentation
8689
run: cabal haddock all

0 commit comments

Comments
 (0)