Skip to content

Commit

Permalink
Add constraint-solver-iterations CI check
Browse files Browse the repository at this point in the history
Make sure we don't introduce `constraint-solver-iterations = 0`
  • Loading branch information
lmbollen committed Aug 6, 2024
1 parent 968b2c4 commit b7eeb1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ jobs:
.github/scripts/cabal-gild.sh check
git diff --exit-code
- name: Check that we don't introduce accidental infinite loops in type checkers
run: |
! grep --include=*.hs -E -r '\-fconstraint-solver-iterations *= *0'
build:
name: Build dependencies
runs-on: [self-hosted, compute]
Expand Down

0 comments on commit b7eeb1a

Please sign in to comment.