Commit 20e4afe 1 parent 4b35116 commit 20e4afe Copy full SHA for 20e4afe
File tree 7 files changed +45
-7
lines changed
7 files changed +45
-7
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ jobs:
13
13
stack_yaml :
14
14
- stack-ghc-8.10.yaml
15
15
- stack-ghc-9.0.yaml
16
+ # - stack-ghc-9.2.yaml
17
+ - stack-ghc-9.4.yaml
16
18
- stack-persistent-2.13.yaml
17
19
- stack-persistent-2.14.yaml
18
20
include :
19
21
- stack_yaml : stack.yaml
20
22
latest : true
21
23
22
24
name : build_and_test (${{ matrix.stack_yaml }})
23
- runs-on : ubuntu-latest
25
+ runs-on : ubuntu-22.04
24
26
services :
25
27
postgres :
26
28
image : postgres:13.1
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ * Add GHC 9.4 support
4
+
3
5
# v0.5.0.0
4
6
5
7
* Export ` SqlQueryT ` constructor ([ #46 ] ( https://github.com/brandonchinn178/persistent-mtl/pull/46 ) )
Original file line number Diff line number Diff line change @@ -19,21 +19,28 @@ github: brandonchinn178/persistent-mtl
19
19
library :
20
20
source-dirs : src
21
21
dependencies :
22
- - base >= 4.14 && < 4.16
22
+ - base >= 4.14 && < 5
23
23
- conduit >= 1.3.4 && < 1.4
24
24
- containers >= 0.6 && < 0.7
25
25
- exceptions >= 0.10 && < 0.11
26
26
- monad-logger >= 0.3 && < 0.4
27
27
- mtl >= 2.2.2 && < 2.3
28
28
- persistent >= 2.13 && < 2.15
29
- - resource-pool >= 0.2.3.2 && < 0.3
29
+ - resource-pool >= 0.2.3.2 && < 0.4
30
30
- resourcet >= 1.2.4 && < 1.3
31
- - text >= 1.2.4 && < 1.3
31
+ - text >= 1.2.4 && < 2.1
32
32
- transformers >= 0.5.6 && < 0.6
33
33
- unliftio >= 0.2 && < 0.3
34
34
- unliftio-core >= 0.2 && < 0.3
35
35
- unliftio-pool >= 0.2 && < 0.3
36
36
37
+ when :
38
+ # https://gitlab.haskell.org/ghc/ghc/-/issues/20836
39
+ - condition : >
40
+ impl(ghc >= 9.2.0) && impl(ghc < 9.3) ||
41
+ impl(ghc >= 9.4.0) && impl(ghc < 9.4.3)
42
+ buildable: false
43
+
37
44
tests :
38
45
persistent-mtl-test :
39
46
source-dirs : test
Original file line number Diff line number Diff line change @@ -44,21 +44,24 @@ library
44
44
src
45
45
ghc-options : -Wall
46
46
build-depends :
47
- base >= 4.14 && < 4.16
47
+ base >= 4.14 && < 5
48
48
, conduit >= 1.3.4 && < 1.4
49
49
, containers == 0.6. *
50
50
, exceptions == 0.10. *
51
51
, monad-logger == 0.3. *
52
52
, mtl >= 2.2.2 && < 2.3
53
53
, persistent >= 2.13 && < 2.15
54
- , resource-pool >= 0.2.3.2 && < 0.3
54
+ , resource-pool >= 0.2.3.2 && < 0.4
55
55
, resourcet >= 1.2.4 && < 1.3
56
- , text >= 1.2.4 && < 1.3
56
+ , text >= 1.2.4 && < 2.1
57
57
, transformers >= 0.5.6 && < 0.6
58
58
, unliftio == 0.2. *
59
59
, unliftio-core == 0.2. *
60
60
, unliftio-pool == 0.2. *
61
61
default-language : Haskell2010
62
+ if impl(ghc >= 9.2.0 ) && impl(ghc < 9.3 ) || impl(ghc >= 9.4.0 ) && impl(ghc < 9.4.3 )
63
+
64
+ buildable : False
62
65
63
66
test-suite persistent-mtl-test
64
67
type : exitcode-stdio-1.0
Original file line number Diff line number Diff line change
1
+ resolver : lts-20.0
2
+
3
+ extra-deps :
4
+ # https://github.com/yesodweb/persistent/issues/1406#issuecomment-1226741099
5
+ - persistent-2.13.3.3
6
+
7
+ flags :
8
+ explainable-predicates :
9
+ regex : false
10
+
11
+ ghc-options :
12
+ " $locals " : -Werror
Original file line number Diff line number Diff line change
1
+ resolver : nightly-2022-11-19
2
+
3
+ extra-deps :
4
+ - tasty-autocollect-0.3.2.0
5
+
6
+ flags :
7
+ explainable-predicates :
8
+ regex : false
9
+
10
+ ghc-options :
11
+ " $locals " : -Werror
Original file line number Diff line number Diff line change 9
9
{-# LANGUAGE StandaloneDeriving #-}
10
10
{-# LANGUAGE TemplateHaskell #-}
11
11
{-# LANGUAGE TypeFamilies #-}
12
+ {-# LANGUAGE TypeOperators #-}
12
13
{-# LANGUAGE UndecidableInstances #-}
13
14
{-# OPTIONS_GHC -Wno-missing-methods #-}
14
15
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
You can’t perform that action at this time.
0 commit comments