From 3d49898aee3a3c1bdd1eba6cfc0157d80bd5aa7d Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Fri, 4 Oct 2024 16:00:57 +0700 Subject: [PATCH] Drop support for GHC 9.2 --- .github/workflows/build.yml | 7 +------ test/TriggerSpec.hs | 4 ---- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d006000..5c150db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,6 @@ jobs: os: - ubuntu-latest ghc: - - '9.2' - '9.4' - '9.6' - '9.8' @@ -43,11 +42,7 @@ jobs: restore-keys: ${{ runner.os }}-${{ steps.setup-haskell.outputs.ghc-version }}- - shell: bash - # The macOS runner comes with an outdated version of cabal: - # https://github.com/actions/runner-images/blob/macOS-12/20230416.1/images/macos/macos-12-Readme.md#tools - # - # (on Linux this is a noop) - run: ghcup install cabal 3.10 --set + run: ghcup install cabal latest --set - shell: bash run: git config --global init.defaultBranch main diff --git a/test/TriggerSpec.hs b/test/TriggerSpec.hs index e883e7d..57326b2 100644 --- a/test/TriggerSpec.hs +++ b/test/TriggerSpec.hs @@ -263,11 +263,7 @@ spec = do _ <- trigger session writeFile name passingSpec trigger session `shouldReturn` (Success, [ -#if __GLASGOW_HASKELL__ < 904 - "[1 of 1] Compiling Spec" -#else "[1 of 1] Compiling Spec [Source file changed]" -#endif , modulesLoaded Ok ["Spec"] , withColor Green "RELOADING SUCCEEDED" , ""