on master help sign in
.github/workflows/ci.yaml+7−9
since splitsnapshots
unifiedsplit
@@ -12,16 +12,14 @@ jobs:
12 runs-on: ubuntu-latest
12 runs-on: ubuntu-latest
13 steps:
13 steps:
14 - uses: actions/checkout@v4
14 - uses: actions/checkout@v4
15− - uses: haskell-actions/run-ormolu@v15
15+ - uses: haskell-actions/run-ormolu@v17
16 build:
16 build:
17 runs-on: ubuntu-latest
17 runs-on: ubuntu-latest
18 needs: ormolu
18 needs: ormolu
19 strategy:
19 strategy:
20 matrix:
20 matrix:
21− cabal: ["3.10"]
21+ cabal: ["3.12"]
22 ghc: ["9.6.3", "9.8.2", "9.10.1"]
22 ghc: ["9.6.3", "9.8.2", "9.10.1"]
23− env:
24− CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
25 steps:
23 steps:
26 - uses: actions/checkout@v4
24 - uses: actions/checkout@v4
27 - uses: haskell-actions/setup@v2
25 - uses: haskell-actions/setup@v2
@@ -30,8 +28,8 @@ jobs:
30 ghc-version: ${{ matrix.ghc }}
28 ghc-version: ${{ matrix.ghc }}
31 cabal-version: ${{ matrix.cabal }}
29 cabal-version: ${{ matrix.cabal }}
32 - run: cabal update
30 - run: cabal update
33− - run: cabal freeze $CONFIG
31+ - run: cabal freeze
34− - uses: actions/cache@v4.0.0
32+ - uses: actions/cache@v4.2.3
35 with:
33 with:
36 path: |
34 path: |
37 ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
35 ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
@@ -40,10 +38,10 @@ jobs:
40 restore-keys: |
38 restore-keys: |
41 ${{ runner.os }}-${{ matrix.ghc }}-
39 ${{ runner.os }}-${{ matrix.ghc }}-
42 - run: cabal format && git diff --exit-code --color=always
40 - run: cabal format && git diff --exit-code --color=always
43− - run: cabal build $CONFIG
41+ - run: cabal build
44 - run: |
42 - run: |
45 docker pull kennethreitz/httpbin
43 docker pull kennethreitz/httpbin
46 docker run -p 1234:80 kennethreitz/httpbin &
44 docker run -p 1234:80 kennethreitz/httpbin &
47− cabal test $CONFIG
45+ cabal test
48− - run: cabal haddock $CONFIG
46+ - run: cabal haddock
49 - run: cabal sdist
47 - run: cabal sdist
README.md+1−1
@@ -4,7 +4,7 @@
4[![Hackage](https://img.shields.io/hackage/v/req.svg?style=flat)](https://hackage.haskell.org/package/req)
4[![Hackage](https://img.shields.io/hackage/v/req.svg?style=flat)](https://hackage.haskell.org/package/req)
5[![Stackage Nightly](http://stackage.org/package/req/badge/nightly)](http://stackage.org/nightly/package/req)
5[![Stackage Nightly](http://stackage.org/package/req/badge/nightly)](http://stackage.org/nightly/package/req)
6[![Stackage LTS](http://stackage.org/package/req/badge/lts)](http://stackage.org/lts/package/req)
6[![Stackage LTS](http://stackage.org/package/req/badge/lts)](http://stackage.org/lts/package/req)
7−![CI](https://github.com/mrkkrp/req/workflows/CI/badge.svg?branch=master)
7+[![CI](https://github.com/mrkkrp/req/actions/workflows/ci.yaml/badge.svg)](https://github.com/mrkkrp/req/actions/workflows/ci.yaml)
8
8
9* [Related packages](#related-packages)
9* [Related packages](#related-packages)
10* [Blog posts](#blog-posts)
10* [Blog posts](#blog-posts)
cabal.projectnew file+4
@@ -0,0 +1,4 @@
1+packages: .
2+tests: True
3+benchmarks: True
4+constraints: req +dev
req.cabal+1−1
@@ -89,7 +89,7 @@ test-suite pure-tests
89 retry >=0.8 && <0.10,
89 retry >=0.8 && <0.10,
90 template-haskell >=2.19 && <2.23,
90 template-haskell >=2.19 && <2.23,
91 text >=0.2 && <2.2,
91 text >=0.2 && <2.2,
92− time >=1.2 && <1.13
92+ time >=1.2 && <1.15
93
93
94 if flag(dev)
94 if flag(dev)
95 ghc-options:
95 ghc-options: