From aa598d49f0acf8f92b2ed1f71e94f0a801ce5963 Mon Sep 17 00:00:00 2001 From: Langston Barrett Date: Wed, 12 Feb 2025 20:03:18 -0500 Subject: [PATCH] ci: Enable `-Wall -Wcompat -Werror` --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00775fe..600b0f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v2 - - uses: haskell/actions/setup@v1 + - uses: haskell-actions/setup@v2 id: setup-haskell with: ghc-version: ${{ matrix.ghc }} @@ -79,6 +79,10 @@ jobs: - name: Configure shell: bash run: cabal configure --enable-tests + - name: Enable '-Wall -Wcompat -Werror' + shell: bash + run: | + echo 'ghc-options: -Wall -Wcompat -Werror' >> cabal.project.local - name: Build shell: bash run: cabal build