From 54aef767730ac8ceed077aee1c8d5f141ed0cb8e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 23 Jul 2025 15:20:34 -0700 Subject: CI: don't warn on unused imports in ghc 9.10+. For now I want to avoid having to put in lots of CPP. --- .github/workflows/ci.yml | 4 ++-- 1 file 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 -- cgit v1.2.3