Skip to content

Commit e82017a

Browse files
committed
Drop GHC 9.4 and lower
1 parent bc8f430 commit e82017a

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,6 @@ jobs:
5252
compilerVersion: 9.6.7
5353
setup-method: ghcup
5454
allow-failure: false
55-
- compiler: ghc-9.4.8
56-
compilerKind: ghc
57-
compilerVersion: 9.4.8
58-
setup-method: ghcup
59-
allow-failure: false
60-
- compiler: ghc-9.2.8
61-
compilerKind: ghc
62-
compilerVersion: 9.2.8
63-
setup-method: ghcup
64-
allow-failure: false
65-
- compiler: ghc-9.0.2
66-
compilerKind: ghc
67-
compilerVersion: 9.0.2
68-
setup-method: ghcup
69-
allow-failure: false
70-
- compiler: ghc-8.10.7
71-
compilerKind: ghc
72-
compilerVersion: 8.10.7
73-
setup-method: ghcup
74-
allow-failure: false
75-
- compiler: ghc-8.8.4
76-
compilerKind: ghc
77-
compilerVersion: 8.8.4
78-
setup-method: ghcup
79-
allow-failure: false
8055
fail-fast: false
8156
steps:
8257
- name: apt-get install
@@ -196,7 +171,7 @@ jobs:
196171
echo " ghc-options: -Werror=missing-methods" >> cabal.project
197172
cat >> cabal.project <<EOF
198173
EOF
199-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(Cabal|Cabal-syntax|hackage-server|parsec|process|text|transformers)$/; }' >> cabal.project.local
174+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(Cabal|Cabal-syntax|hackage-server|parsec|process|text)$/; }' >> cabal.project.local
200175
cat cabal.project
201176
cat cabal.project.local
202177
- name: dump install plan

cabal.haskell-ci

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
branches: master
22

3-
installed: +all -Cabal -Cabal-syntax -text -parsec -process -transformers
3+
installed: +all -Cabal -Cabal-syntax -text -parsec -process
44

55
-- Does not work with GHA:
66
-- -- allow failures with ghc-7.6 and ghc-7.8
77
-- allow-failures: <7.9
88

9-
-- Use Ubuntu 22.04
10-
distribution: jammy
9+
-- -- Use Ubuntu 22.04
10+
-- distribution: jammy
1111

1212
apt: libbrotli-dev libgd-dev
1313
-- libgd-dev is for gd via hs-captcha

hackage-server.cabal

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ tested-with:
3232
GHC == 9.10.2
3333
GHC == 9.8.4
3434
GHC == 9.6.7
35-
GHC == 9.4.8
36-
GHC == 9.2.8
37-
GHC == 9.0.2
38-
GHC == 8.10.7
39-
GHC == 8.8.4
35+
-- Constraint transformers >= 0.6 forces GHC >= 9.6 for CI
4036

4137
data-dir: datafiles
4238
data-files:
@@ -131,7 +127,7 @@ common defaults
131127
-- see `cabal.project.local-ghc-${VERSION}` files
132128
build-depends:
133129
, array >= 0.5 && < 0.6
134-
, base >= 4.13 && < 4.22
130+
, base >= 4.18 && < 4.22
135131
, binary >= 0.8 && < 0.9
136132
, bytestring >= 0.10 && < 0.13
137133
, containers >= 0.6.0 && < 0.9

0 commit comments

Comments
 (0)