on master help sign in
Test with GHC 9.8.1, drop 9.2.x
4419835Mark Karpov
.github/workflows/ci.yaml+2−4
@@ -19,12 +19,12 @@ jobs:
19 strategy:
19 strategy:
20 matrix:
20 matrix:
21 cabal: ["3.10"]
21 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"]
23 env:
23 env:
24 CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
24 CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
25 steps:
25 steps:
26 - uses: actions/checkout@v4
26 - uses: actions/checkout@v4
27− - uses: haskell/actions/setup@v2
27+ - uses: haskell-actions/setup@v2
28 id: setup-haskell-cabal
28 id: setup-haskell-cabal
29 with:
29 with:
30 ghc-version: ${{ matrix.ghc }}
30 ghc-version: ${{ matrix.ghc }}
@@ -43,6 +43,4 @@ jobs:
43 - run: cabal build $CONFIG
43 - run: cabal build $CONFIG
44 - run: cabal test $CONFIG
44 - run: cabal test $CONFIG
45 - run: cabal haddock $CONFIG
45 - run: cabal haddock $CONFIG
46− # Haddock fails to build, see https://github.com/haskell/cabal/issues/9060
47− if: ${{ matrix.ghc != '9.2.8' }}
48 - run: cabal sdist
46 - run: cabal sdist
req.cabal+17−17
@@ -5,7 +5,7 @@ license: BSD-3-Clause
5license-file: LICENSE.md
5license-file: LICENSE.md
6maintainer: Mark Karpov <markkarpov92@gmail.com>
6maintainer: Mark Karpov <markkarpov92@gmail.com>
7author: Mark Karpov <markkarpov92@gmail.com>
7author: 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
9homepage: https://github.com/mrkkrp/req
9homepage: https://github.com/mrkkrp/req
10bug-reports: https://github.com/mrkkrp/req/issues
10bug-reports: https://github.com/mrkkrp/req/issues
11synopsis: HTTP client library
11synopsis: HTTP client library
@@ -35,7 +35,7 @@ library
35 build-depends:
35 build-depends:
36 aeson >=0.9 && <3,
36 aeson >=0.9 && <3,
37 authenticate-oauth >=1.5 && <1.8,
37 authenticate-oauth >=1.5 && <1.8,
38− base >=4.15 && <5.0,
38+ base >=4.15 && <5,
39 blaze-builder >=0.3 && <0.5,
39 blaze-builder >=0.3 && <0.5,
40 bytestring >=0.10.8 && <0.12,
40 bytestring >=0.10.8 && <0.12,
41 case-insensitive >=0.2 && <1.3,
41 case-insensitive >=0.2 && <1.3,
@@ -45,13 +45,13 @@ library
45 http-api-data >=0.2 && <0.7,
45 http-api-data >=0.2 && <0.7,
46 http-client >=0.7.13.1 && <0.8,
46 http-client >=0.7.13.1 && <0.8,
47 http-client-tls >=0.3.2 && <0.4,
47 http-client-tls >=0.3.2 && <0.4,
48− http-types >=0.8 && <10.0,
48+ http-types >=0.8 && <10,
49 modern-uri >=0.3 && <0.4,
49 modern-uri >=0.3 && <0.4,
50 monad-control >=1.0 && <1.1,
50 monad-control >=1.0 && <1.1,
51 mtl >=2.0 && <3.0,
51 mtl >=2.0 && <3.0,
52 retry >=0.8 && <0.10,
52 retry >=0.8 && <0.10,
53− template-haskell >=2.14 && <2.21,
53+ template-haskell >=2.19 && <2.22,
54− text >=0.2 && <2.1,
54+ text >=0.2 && <2.2,
55 transformers >=0.5.3.0 && <0.7,
55 transformers >=0.5.3.0 && <0.7,
56 transformers-base,
56 transformers-base,
57 unliftio-core >=0.1.1 && <0.3
57 unliftio-core >=0.1.1 && <0.3
@@ -65,27 +65,27 @@ library
65test-suite pure-tests
65test-suite pure-tests
66 type: exitcode-stdio-1.0
66 type: exitcode-stdio-1.0
67 main-is: Spec.hs
67 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
69 hs-source-dirs: pure-tests
69 hs-source-dirs: pure-tests
70 other-modules: Network.HTTP.ReqSpec
70 other-modules: Network.HTTP.ReqSpec
71 default-language: GHC2021
71 default-language: GHC2021
72 build-depends:
72 build-depends:
73− QuickCheck >=2.7 && <3.0,
73+ QuickCheck >=2.7 && <3,
74 aeson >=0.9 && <3,
74 aeson >=0.9 && <3,
75 base >=4.15 && <5.0,
75 base >=4.15 && <5.0,
76 blaze-builder >=0.3 && <0.5,
76 blaze-builder >=0.3 && <0.5,
77 bytestring >=0.10.8 && <0.12,
77 bytestring >=0.10.8 && <0.12,
78 case-insensitive >=0.2 && <1.3,
78 case-insensitive >=0.2 && <1.3,
79− hspec >=2.0 && <3.0,
79+ hspec >=2.0 && <3,
80− hspec-core >=2.0 && <3.0,
80+ hspec-core >=2.0 && <3,
81 http-api-data >=0.2 && <0.7,
81 http-api-data >=0.2 && <0.7,
82 http-client >=0.7 && <0.8,
82 http-client >=0.7 && <0.8,
83− http-types >=0.8 && <10.0,
83+ http-types >=0.8 && <10,
84 modern-uri >=0.3 && <0.4,
84 modern-uri >=0.3 && <0.4,
85 req,
85 req,
86 retry >=0.8 && <0.10,
86 retry >=0.8 && <0.10,
87− template-haskell >=2.14 && <2.21,
87+ template-haskell >=2.19 && <2.22,
88− text >=0.2 && <2.1,
88+ text >=0.2 && <2.2,
89 time >=1.2 && <1.13
89 time >=1.2 && <1.13
90
90
91 if flag(dev)
91 if flag(dev)
@@ -99,21 +99,21 @@ test-suite pure-tests
99test-suite httpbun-tests
99test-suite httpbun-tests
100 type: exitcode-stdio-1.0
100 type: exitcode-stdio-1.0
101 main-is: Spec.hs
101 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
103 hs-source-dirs: httpbun-tests
103 hs-source-dirs: httpbun-tests
104 other-modules: Network.HTTP.ReqSpec
104 other-modules: Network.HTTP.ReqSpec
105 default-language: GHC2021
105 default-language: GHC2021
106 build-depends:
106 build-depends:
107− QuickCheck >=2.7 && <3.0,
107+ QuickCheck >=2.7 && <3,
108 aeson >=2 && <3,
108 aeson >=2 && <3,
109− base >=4.15 && <5.0,
109+ base >=4.15 && <5,
110 bytestring >=0.10.8 && <0.12,
110 bytestring >=0.10.8 && <0.12,
111 hspec >=2.0 && <3.0,
111 hspec >=2.0 && <3.0,
112 http-client >=0.7 && <0.8,
112 http-client >=0.7 && <0.8,
113− http-types >=0.8 && <10.0,
113+ http-types >=0.8 && <10,
114 monad-control >=1.0 && <1.1,
114 monad-control >=1.0 && <1.1,
115 req,
115 req,
116− text >=0.2 && <2.1
116+ text >=0.2 && <2.2
117
117
118 if flag(dev)
118 if flag(dev)
119 ghc-options:
119 ghc-options: