From b76e56d3ddbce6ac2ddddfff8496b602e2a3453f Mon Sep 17 00:00:00 2001 From: HW home Date: Mon, 10 Aug 2026 07:51:57 -0700 Subject: [PATCH] upgrade support version to 9.6 and 9.8 --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- hoauth2-demo/hoauth2-demo.cabal | 5 +---- hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal | 5 +---- hoauth2-providers/hoauth2-providers.cabal | 4 +--- hoauth2-tutorial/hoauth2-tutorial.cabal | 2 +- hoauth2/hoauth2.cabal | 2 +- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18be74b9..83e3d016 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ghc: ["9.8", "9.6", "9.4", "9.2"] + ghc: ["9.8", "9.6"] cabal: ["3.10"] name: Build hoauth2 on GHC ${{ matrix.ghc }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b6d0ae6..6ee36dce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ghc: ["9.8", "9.6", "9.4", "9.2"] + ghc: ["9.8", "9.6"] cabal: ["3.10"] name: Test hoauth2 on GHC ${{ matrix.ghc }} diff --git a/hoauth2-demo/hoauth2-demo.cabal b/hoauth2-demo/hoauth2-demo.cabal index 62a6dd94..4443c23a 100644 --- a/hoauth2-demo/hoauth2-demo.cabal +++ b/hoauth2-demo/hoauth2-demo.cabal @@ -14,7 +14,7 @@ copyright: Haisheng Wu category: Network build-type: Simple stability: Beta -tested-with: GHC <=9.6.1 +tested-with: GHC ==9.6.1 || ==9.8.2 extra-source-files: README.org sample.env.json @@ -90,6 +90,3 @@ executable hoauth2-demo if flag(breakpoint) build-depends: breakpoint ^>=0.1.2 ghc-options: -fplugin=Debug.Breakpoint -plugin-package breakpoint - - if impl(ghc <9.4) - ghc-options: -Wno-unticked-promoted-constructors diff --git a/hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal b/hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal index 0f34b544..5f585d75 100644 --- a/hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal +++ b/hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal @@ -11,7 +11,7 @@ license-file: LICENSE author: Haisheng Wu (M) maintainer: freizl@gmail.com category: Network -tested-with: GHC <=9.6.1 +tested-with: GHC ==9.6.1 || ==9.8.2 library exposed-modules: HOAuth2ProvidersTutorial @@ -34,9 +34,6 @@ library -Wall -Wtabs -Wno-unused-do-bind -Wunused-packages -Wpartial-fields -Wwarnings-deprecations - if impl(ghc <9.4) - ghc-options: -Wno-unticked-promoted-constructors - executable hoauth2-providers-tutorial main-is: Main.hs build-depends: diff --git a/hoauth2-providers/hoauth2-providers.cabal b/hoauth2-providers/hoauth2-providers.cabal index b8ddc58b..4d26d22a 100644 --- a/hoauth2-providers/hoauth2-providers.cabal +++ b/hoauth2-providers/hoauth2-providers.cabal @@ -13,7 +13,7 @@ category: Network build-type: Simple stability: Beta tested-with: - GHC ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1 || ==9.8.2 + GHC ==9.6.1 || ==9.8.2 extra-source-files: CHANGELOG.md @@ -81,8 +81,6 @@ library -Wwarn -Wwarnings-deprecations -- -Wno-missing-signatures - if impl(ghc <9.4) - ghc-options: -Wno-unticked-promoted-constructors test-suite hoauth-providers-tests type: exitcode-stdio-1.0 diff --git a/hoauth2-tutorial/hoauth2-tutorial.cabal b/hoauth2-tutorial/hoauth2-tutorial.cabal index f2ff493e..198705b5 100644 --- a/hoauth2-tutorial/hoauth2-tutorial.cabal +++ b/hoauth2-tutorial/hoauth2-tutorial.cabal @@ -14,7 +14,7 @@ copyright: Haisheng Wu category: Network build-type: Simple stability: Beta -tested-with: GHC <=9.6.1 +tested-with: GHC ==9.6.1 || ==9.8.2 source-repository head type: git diff --git a/hoauth2/hoauth2.cabal b/hoauth2/hoauth2.cabal index 0c38f469..62a0b3ae 100644 --- a/hoauth2/hoauth2.cabal +++ b/hoauth2/hoauth2.cabal @@ -17,7 +17,7 @@ category: Network build-type: Simple stability: Beta tested-with: - GHC ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1 || ==9.8.2 + GHC ==9.6.1 || ==9.8.2 extra-source-files: CHANGELOG.md