File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
linux :
14
14
15
- runs-on : ubuntu-20 .04
15
+ runs-on : ubuntu-22 .04
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
@@ -25,13 +25,21 @@ jobs:
25
25
cabal : ' latest'
26
26
- ghc : ' 9.2'
27
27
cabal : ' latest'
28
+ - ghc : ' 9.4'
29
+ cabal : ' latest'
30
+ - ghc : ' 9.6'
31
+ cabal : ' latest'
32
+ - ghc : ' 9.8'
33
+ cabal : ' latest'
34
+ - ghc : ' 9.10'
35
+ cabal : ' latest'
28
36
steps :
29
- - uses : actions/checkout@v2
37
+ - uses : actions/checkout@v4
30
38
31
39
# need to install older cabal/ghc versions from ppa repository
32
40
33
41
- name : Install recent cabal/ghc
34
- uses : haskell/ actions/setup@v1
42
+ uses : haskell- actions/setup@v2
35
43
with :
36
44
ghc-version : ${{ matrix.versions.ghc }}
37
45
cabal-version : ${{ matrix.versions.cabal }}
@@ -42,15 +50,15 @@ jobs:
42
50
43
51
- name : Cache cabal global package db
44
52
id : cabal-global
45
- uses : actions/cache@v2
53
+ uses : actions/cache@v4
46
54
with :
47
55
path : |
48
56
~/.cabal
49
57
key : ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ hashFiles('cabal.project') }}
50
58
51
59
- name : Cache cabal work
52
60
id : cabal-local
53
- uses : actions/cache@v2
61
+ uses : actions/cache@v4
54
62
with :
55
63
path : |
56
64
dist-newstyle
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import Control.Monad
11
11
import Data.Binary
12
12
import Data.Binary.Get
13
13
import Data.Binary.Put as BPut
14
+ import Data.Default.Class
14
15
import Data.Int (Int64 )
15
16
import Data.Maybe
16
17
import Data.Text (Text )
@@ -174,8 +175,8 @@ data TLSSettings =
174
175
connectionTLSSettings :: TLSSettings -> Maybe Conn. TLSSettings
175
176
connectionTLSSettings tlsSettings =
176
177
Just $ case tlsSettings of
177
- TLSTrusted -> Conn. TLSSettingsSimple False False False
178
- TLSUntrusted -> Conn. TLSSettingsSimple True False False
178
+ TLSTrusted -> Conn. TLSSettingsSimple False False False def
179
+ TLSUntrusted -> Conn. TLSSettingsSimple True False False def
179
180
TLSCustom x -> x
180
181
181
182
-- | A 'SASLMechanism' is described by its name ('saslName'), its initial response ('saslInitialResponse'), and an optional function ('saslChallengeFunc') that
Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ Library
24
24
containers>= 0.2 ,
25
25
bytestring>= 0.9 ,
26
26
data-binary-ieee754>= 0.4.2.1 ,
27
+ data-default-class >= 0.1 ,
27
28
text>= 0.11.2 ,
28
29
split>= 0.2 ,
29
30
clock >= 0.4.0.1 ,
30
31
monad-control >= 0.3 ,
31
- crypton-connection >= 0.3.1 && <= 0.4 ,
32
+ crypton-connection >= 0.4 && <= 0.5 ,
32
33
vector,
33
34
stm >= 2.4.0 ,
34
35
network-uri >= 2.6 ,
@@ -67,6 +68,7 @@ test-suite spec
67
68
ConnectionSpec
68
69
ExchangeDeclareSpec
69
70
ExchangeDeleteSpec
71
+ FromURISpec
70
72
QueueDeclareSpec
71
73
QueueDeleteSpec
72
74
QueuePurgeSpec
@@ -76,12 +78,13 @@ test-suite spec
76
78
, containers>= 0.2
77
79
, bytestring>= 0.9
78
80
, data-binary-ieee754>= 0.4.2.1
81
+ , data-default-class >= 0.1
79
82
, text>= 0.11.2
80
83
, split>= 0.2
81
84
, clock >= 0.4.0.1
82
85
, hspec >= 1.3
83
86
, hspec-expectations >= 0.3.3
84
- , crypton-connection >= 0.3.1 && <= 0.4
87
+ , crypton-connection >= 0.4 && <= 0.5
85
88
, vector
86
89
, stm >= 2.4.0
87
90
, network-uri >= 2.6
You can’t perform that action at this time.
0 commit comments