diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 1464be8da8..84f31a3ede 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -62,7 +62,7 @@ jobs: if: ${{ !contains(matrix.os, 'ubuntu') }} with: ghc-version: ${{ matrix.ghc }} - cabal-version: '3.10.2.1' + cabal-version: '3.10.3.0' # Set up Rust. # This action installs the 'minimal' profile. diff --git a/cabal.project.ci.linux b/cabal.project.ci.linux index 228f2b3ea9..daf7ea4957 100644 --- a/cabal.project.ci.linux +++ b/cabal.project.ci.linux @@ -9,4 +9,4 @@ packages: . import: ./cabal.project.common package spectrometer - ghc-options: -Werror + ghc-options: -Werror -Wwarn=x-partial diff --git a/cabal.project.ci.macos b/cabal.project.ci.macos index a82bc28729..c2a4cb0bec 100644 --- a/cabal.project.ci.macos +++ b/cabal.project.ci.macos @@ -7,4 +7,4 @@ packages: . import: ./cabal.project.common package spectrometer - ghc-options: -Werror + ghc-options: -Werror -Wwarn=x-partial diff --git a/cabal.project.ci.windows b/cabal.project.ci.windows index 228f2b3ea9..daf7ea4957 100644 --- a/cabal.project.ci.windows +++ b/cabal.project.ci.windows @@ -9,4 +9,4 @@ packages: . import: ./cabal.project.common package spectrometer - ghc-options: -Werror + ghc-options: -Werror -Wwarn=x-partial diff --git a/spectrometer.cabal b/spectrometer.cabal index 2472e5a13e..060ea38fa4 100644 --- a/spectrometer.cabal +++ b/spectrometer.cabal @@ -73,6 +73,7 @@ common lang -Wall -Wincomplete-uni-patterns -Wcompat -Wincomplete-record-updates -Wmissing-home-modules -Wmissing-export-lists -Wredundant-constraints + -Wno-unrecognised-warning-flags -- TODO: Switch `semver` back to `versions` since https://github.com/fosskers/versions/issues/47 is fixed. This package maintainer seems much more responsive. Contrast https://github.com/brendanhay/semver/issues/12. -- codec-rpm is installed via cabal.project, so this number is an expected future version.