Skip to content

Commit 40dee23

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

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.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+
status=0
8182
for i in */*.cabal; do
82-
( cd "${i%/*}" && cabal check ) || break
83+
( cd "${i%/*}" && echo "[${i%/*}]" && cabal check ) || status=1
8384
done
85+
echo "[status=$status]"
86+
exit $status
8487
8588
- name: documentation
8689
run: cabal haddock all

0 commit comments

Comments
 (0)