Skip to content

Commit 6c04ff8

Browse files
committed
Haskell CI: turn of -Werror=missing-fields
1 parent e0645c6 commit 6c04ff8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ jobs:
177177
touch cabal.project
178178
touch cabal.project.local
179179
echo "packages: ${PKGDIR_hackage_server}" >> cabal.project
180-
echo "package hackage-server" >> cabal.project
181-
echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project
182180
cat >> cabal.project <<EOF
183181
EOF
184182
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(Cabal|Cabal-syntax|hackage-server|parsec|process|text)$/; }' >> cabal.project.local

cabal.haskell-ci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ branches: master
22

33
error-incomplete-patterns: False
44
error-unused-packages: False
5+
error-missing-methods: none
56

67
installed: +all -Cabal -Cabal-syntax -text -parsec -process
78

0 commit comments

Comments
 (0)