Skip to content

Commit a6b4c30

Browse files
lmbollenmartijnbastiaan
authored andcommitted
Add constraint-solver-iterations CI check
Make sure we don't introduce `constraint-solver-iterations = 0`
1 parent 8abdf51 commit a6b4c30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ jobs:
114114
.github/scripts/cabal-gild.sh check
115115
git diff --exit-code
116116
117+
- name: Check that we don't introduce accidental infinite loops in type checkers
118+
run: |
119+
! grep --include=*.hs -E -r '\-fconstraint-solver-iterations *= *0'
120+
117121
build:
118122
name: Build dependencies
119123
runs-on: [self-hosted, compute]

0 commit comments

Comments
 (0)