File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,6 +153,9 @@ jobs:
153153 fi
154154 echo "FLAGS=$FLAGS" >> "$GITHUB_ENV"
155155
156+ - name : Run cabal check
157+ run : make check
158+
156159 - name : Validate build
157160 run : sh validate.sh $FLAGS -s build
158161
Original file line number Diff line number Diff line change @@ -49,6 +49,15 @@ FORMAT_DIRS_TODO := \
4949 cabal-testsuite/static \
5050 solver-benchmarks
5151
52+ .PHONY : check
53+ check :
54+ @cd Cabal && cabal check | grep -q " No errors or warnings could be found in the package."
55+ @cd cabal-install && cabal check | grep -q " No errors or warnings could be found in the package."
56+ @cd Cabal-syntax && cabal check | grep -q " No errors or warnings could be found in the package."
57+ @cd Cabal-hooks && cabal check | grep -q " No errors or warnings could be found in the package."
58+ @cd hooks-exe && cabal check | grep -q " No errors or warnings could be found in the package."
59+ @cd cabal-install-solver && cabal check | grep -q " No errors or warnings could be found in the package."
60+
5261.PHONY : style-todo
5362style-todo : # # Configured for fourmolu, avoiding GHC parser failures.
5463 @fourmolu -q $(FORMAT_DIRS_TODO ) > /dev/null
You can’t perform that action at this time.
0 commit comments