Skip to content

Commit

Permalink
Turn off the new x-partial warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed Aug 16, 2024
1 parent 8dab111 commit be72e25
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cabal.project.ci.linux
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ packages: .
import: ./cabal.project.common

package spectrometer
ghc-options: -Werror
ghc-options: -Werror -Wwarn=x-partial
2 changes: 1 addition & 1 deletion cabal.project.ci.macos
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ packages: .
import: ./cabal.project.common

package spectrometer
ghc-options: -Werror
ghc-options: -Werror -Wwarn=x-partial
2 changes: 1 addition & 1 deletion cabal.project.ci.windows
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ packages: .
import: ./cabal.project.common

package spectrometer
ghc-options: -Werror
ghc-options: -Werror -Wwarn=x-partial
1 change: 1 addition & 0 deletions spectrometer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit be72e25

Please sign in to comment.