diff options
| -rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
| -rw-r--r-- | pandoc.cabal | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 650997d9b..5de152cbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,8 @@ jobs: cabalopts: '--ghc-option=-Werror' - ghc: '9.12' cabal: 'latest' - cabalopts: '--ghc-option=-Werror --ghc-option=-Wno-deriving-typeable' + cabalopts: '--ghc-option=-Werror' + steps: - uses: actions/checkout@v6 diff --git a/pandoc.cabal b/pandoc.cabal index c0cdd745c..c20ce410f 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -457,7 +457,7 @@ flag embed_data_files common common-options default-language: Haskell2010 - build-depends: base >= 4.12 && < 5 + build-depends: base >= 4.18 && < 5 ghc-options: -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances @@ -468,12 +468,11 @@ common common-options -Wmissing-signatures -fhide-source-paths -Wmissing-export-lists + -Wunused-packages + -Winvalid-haddock - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - - if impl(ghc >= 9.0) - ghc-options: -Winvalid-haddock + if impl(ghc >= 9.12) + ghc-options: -Wno-deriving-typeable if os(windows) cpp-options: -D_WINDOWS |
