ci: properly fail if warnings on linux build.
commit6644200a929ce2d6f146914d48633e64a8d9e258
authorJohn MacFarlane <jgm@berkeley.edu>
dateWed 2 Oct 2019, 08:31 (7 years ago)
parent1d4ea54
.github/workflows/ci.yml+1−1
@@ -65,7 +65,7 @@ jobs:
6565 export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
6666 cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
6767 # fail if warnings in local build
68− ! grep -q ": *[Ww]arning:" build.log
68+ ! grep -q ": *[Ww]arning:" build.log || exit 1
6969 cabal v2-test --disable-optimization
7070
7171 windows: