ci: Enable -Werror

Related: 14d9fa247a
Related: 5cdf428f55
This commit is contained in:
Tomas Janousek
2021-05-23 21:01:13 +01:00
parent 43e35952c8
commit cef324795e
4 changed files with 31 additions and 11 deletions

View File

@@ -140,6 +140,9 @@ jobs:
type: git
location: https://github.com/xmonad/xmonad
branch: master
package xmonad-contrib
flags: +pedantic
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(xmonad-contrib)$/; }' >> cabal.project.local
cat cabal.project

View File

@@ -99,4 +99,5 @@ jobs:
stack test \
--fast --no-terminal \
--stack-yaml=${{ matrix.yaml }} \
--resolver=${{ matrix.resolver }} --system-ghc
--resolver=${{ matrix.resolver }} --system-ghc \
--flag=xmonad-contrib:pedantic