aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-07-23 15:20:34 -0700
committerJohn MacFarlane <[email protected]>2025-07-23 15:20:34 -0700
commit54aef767730ac8ceed077aee1c8d5f141ed0cb8e (patch)
tree2cece8b945258f0c29bf550ca0c2f9ef1ab50f1f
parent1778cc29a66ae0b951a986b10459ee3436c7820e (diff)
CI: don't warn on unused imports in ghc 9.10+.
For now I want to avoid having to put in lots of CPP.
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 00135c94d..b9b933eaf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -68,10 +68,10 @@ jobs:
cabalopts: '--ghc-option=-Werror'
- ghc: '9.10'
cabal: 'latest'
- cabalopts: '--ghc-option=-Werror'
+ cabalopts: '--ghc-option=-Werror --ghc-option=-W-no-unused-imports'
- ghc: '9.12'
cabal: 'latest'
- cabalopts: '--allow-newer --ghc-option=-Werror'
+ cabalopts: '--allow-newer --ghc-option=-Werror --ghc-options=-W-no-unused-imports'
steps:
- uses: actions/checkout@v4