on master help sign in
Test with GHC 9.8.1, drop 9.2.x
commit4419835f7ddc2e1c9b9d17acfea85c35afefd533 authorMark Karpov <markkarpov92@gmail.com> dateWed 18 Oct 2023, 13:34 (3 years ago) parent3c4906e
2 files changed+19−21
.github/workflows/ci.yaml+2−4 req.cabal+17−17
.github/workflows/ci.yaml+2−4
@@ -19,12 +19,12 @@ jobs:
1919 strategy:
2020 matrix:
2121 cabal: ["3.10"]
22− ghc: ["9.2.8", "9.4.7", "9.6.2"]
22+ ghc: ["9.4.7", "9.6.3", "9.8.1"]
2323 env:
2424 CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
2525 steps:
2626 - uses: actions/checkout@v4
27− - uses: haskell/actions/setup@v2
27+ - uses: haskell-actions/setup@v2
2828 id: setup-haskell-cabal
2929 with:
3030 ghc-version: ${{ matrix.ghc }}
@@ -43,6 +43,4 @@ jobs:
4343 - run: cabal build $CONFIG
4444 - run: cabal test $CONFIG
4545 - run: cabal haddock $CONFIG
46− # Haddock fails to build, see https://github.com/haskell/cabal/issues/9060
47− if: ${{ matrix.ghc != '9.2.8' }}
4846 - run: cabal sdist
req.cabal+17−17
@@ -5,7 +5,7 @@ license: BSD-3-Clause
55license-file: LICENSE.md
66maintainer: Mark Karpov <markkarpov92@gmail.com>
77author: Mark Karpov <markkarpov92@gmail.com>
8−tested-with: ghc ==9.2.8 ghc ==9.4.7 ghc ==9.6.2
8+tested-with: ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.1
99homepage: https://github.com/mrkkrp/req
1010bug-reports: https://github.com/mrkkrp/req/issues
1111synopsis: HTTP client library
@@ -35,7 +35,7 @@ library
3535 build-depends:
3636 aeson >=0.9 && <3,
3737 authenticate-oauth >=1.5 && <1.8,
38− base >=4.15 && <5.0,
38+ base >=4.15 && <5,
3939 blaze-builder >=0.3 && <0.5,
4040 bytestring >=0.10.8 && <0.12,
4141 case-insensitive >=0.2 && <1.3,
@@ -45,13 +45,13 @@ library
4545 http-api-data >=0.2 && <0.7,
4646 http-client >=0.7.13.1 && <0.8,
4747 http-client-tls >=0.3.2 && <0.4,
48− http-types >=0.8 && <10.0,
48+ http-types >=0.8 && <10,
4949 modern-uri >=0.3 && <0.4,
5050 monad-control >=1.0 && <1.1,
5151 mtl >=2.0 && <3.0,
5252 retry >=0.8 && <0.10,
53− template-haskell >=2.14 && <2.21,
54− text >=0.2 && <2.1,
53+ template-haskell >=2.19 && <2.22,
54+ text >=0.2 && <2.2,
5555 transformers >=0.5.3.0 && <0.7,
5656 transformers-base,
5757 unliftio-core >=0.1.1 && <0.3
@@ -65,27 +65,27 @@ library
6565test-suite pure-tests
6666 type: exitcode-stdio-1.0
6767 main-is: Spec.hs
68− build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
68+ build-tool-depends: hspec-discover:hspec-discover >=2 && <3
6969 hs-source-dirs: pure-tests
7070 other-modules: Network.HTTP.ReqSpec
7171 default-language: GHC2021
7272 build-depends:
73− QuickCheck >=2.7 && <3.0,
73+ QuickCheck >=2.7 && <3,
7474 aeson >=0.9 && <3,
7575 base >=4.15 && <5.0,
7676 blaze-builder >=0.3 && <0.5,
7777 bytestring >=0.10.8 && <0.12,
7878 case-insensitive >=0.2 && <1.3,
79− hspec >=2.0 && <3.0,
80− hspec-core >=2.0 && <3.0,
79+ hspec >=2.0 && <3,
80+ hspec-core >=2.0 && <3,
8181 http-api-data >=0.2 && <0.7,
8282 http-client >=0.7 && <0.8,
83− http-types >=0.8 && <10.0,
83+ http-types >=0.8 && <10,
8484 modern-uri >=0.3 && <0.4,
8585 req,
8686 retry >=0.8 && <0.10,
87− template-haskell >=2.14 && <2.21,
88− text >=0.2 && <2.1,
87+ template-haskell >=2.19 && <2.22,
88+ text >=0.2 && <2.2,
8989 time >=1.2 && <1.13
9090
9191 if flag(dev)
@@ -99,21 +99,21 @@ test-suite pure-tests
9999test-suite httpbun-tests
100100 type: exitcode-stdio-1.0
101101 main-is: Spec.hs
102− build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
102+ build-tool-depends: hspec-discover:hspec-discover >=2 && <3
103103 hs-source-dirs: httpbun-tests
104104 other-modules: Network.HTTP.ReqSpec
105105 default-language: GHC2021
106106 build-depends:
107− QuickCheck >=2.7 && <3.0,
107+ QuickCheck >=2.7 && <3,
108108 aeson >=2 && <3,
109− base >=4.15 && <5.0,
109+ base >=4.15 && <5,
110110 bytestring >=0.10.8 && <0.12,
111111 hspec >=2.0 && <3.0,
112112 http-client >=0.7 && <0.8,
113− http-types >=0.8 && <10.0,
113+ http-types >=0.8 && <10,
114114 monad-control >=1.0 && <1.1,
115115 req,
116− text >=0.2 && <2.1
116+ text >=0.2 && <2.2
117117
118118 if flag(dev)
119119 ghc-options: