@@ -388,7 +388,9 @@ jobs:
388388 HLINT_OPTIONS: lint --cpp-include=src --cpp-include=test
389389 HLINT_TARGETS: src test benchmark
390390 command: |
391− bash -c "$PACKCHECK $BUILD"
391+ bash -c "$PACKCHECK $BUILD" || exit 1
392+ count=$(find . -name "*.hs" -exec grep -H '\ $' {} \; | tee /dev/tty | wc -l)
393+ exit $count
392394 - *save
393395
394396workflows:
@@ -414,4 +416,4 @@ workflows:
414416 #- coveralls-ghc-8_10_2:
415417 # name: GHC 8.10.2 + inspection + coverage + Werror
416418 - hlint-src:
417− name: Hlint src
419+ name: Hlint src + Trailing Spaces