ci: Disable optimization in the haskell-ci workflow

Cuts a couple dozen seconds from the build. This was already disabled in
the Stack workflow and we just forgot to put it here as well.

Related: https://github.com/xmonad/xmonad-contrib/pull/580
This commit is contained in:
Tomas Janousek 2021-08-08 11:38:56 +01:00
parent 3a414660fc
commit 3e76270245
2 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,8 @@ jobs:
echo "package xmonad" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
optimization: False
package xmonad
flags: +pedantic
EOF

View File

@ -9,5 +9,6 @@ github-patches:
.github/workflows/haskell-ci-hackage.patch
raw-project
optimization: False
package xmonad
flags: +pedantic