Skip to content

Commit

Permalink
ci: Enable -Wall -Wcompat -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Feb 13, 2025
1 parent d6637d1 commit eeb379a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/cabal.project.werror
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ghc-options: -Wall -Wcompat -Werror
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
cabal-${{ runner.os }}-ghc${{ matrix.ghc }}-${{ github.ref }}
restore-keys: |
cabal-${{ runner.os }}-ghc${{ matrix.ghc }}-
- name: Enable -Werror
shell: bash
run: cp .github/cabal.project.werror cabal.project.local
- name: Cabal update
shell: bash
run: cabal update
Expand Down

0 comments on commit eeb379a

Please sign in to comment.