File tree 2 files changed +16
-17
lines changed
2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 5
5
steps :
6
6
- uses : actions/checkout@v4
7
7
- run : mkdir artifact
8
- - id : haskell
9
- uses : haskell-actions/setup@v2
8
+ - uses : haskell/ghcup-setup@v1
10
9
with :
11
- ghc-version : ${{ matrix.ghc }}
10
+ ghc : ${{ matrix.ghc }}
11
+ cabal : latest
12
12
- run : ghc-pkg list
13
13
- run : cabal sdist --output-dir artifact
14
14
- run : cabal configure --enable-tests --flags=pedantic --jobs
15
15
- run : cat cabal.project.local
16
16
- run : cp cabal.project.local artifact
17
+ - run : cabal update
17
18
- run : cabal freeze
18
19
- run : cat cabal.project.freeze
19
20
- run : cp cabal.project.freeze artifact
20
21
- run : cabal outdated --v2-freeze-file
21
22
- uses : actions/cache@v4
22
23
with :
23
24
key : ${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
24
- path : ${{ steps.haskell.outputs. cabal-store }}
25
+ path : ~/.local/state/ cabal
25
26
restore-keys : ${{ matrix.os }}-${{ matrix.ghc }}-
26
27
- run : cabal build --only-download
27
28
- run : cabal build --only-dependencies
@@ -35,17 +36,17 @@ jobs:
35
36
strategy :
36
37
matrix :
37
38
include :
38
- - ghc : ' 9.10 '
39
+ - ghc : 9.12
39
40
os : macos-13
40
- - ghc : ' 9.10 '
41
+ - ghc : 9.12
41
42
os : macos-14
42
- - ghc : 9.6
43
- os : ubuntu-22.04
44
43
- ghc : 9.8
45
- os : ubuntu-22.04
46
- - ghc : ' 9.10'
47
- os : ubuntu-22.04
44
+ os : ubuntu-24.04
48
45
- ghc : ' 9.10'
46
+ os : ubuntu-24.04
47
+ - ghc : 9.12
48
+ os : ubuntu-24.04
49
+ - ghc : 9.12
49
50
os : windows-2022
50
51
cabal :
51
52
name : Cabal
85
86
steps :
86
87
- uses : actions/download-artifact@v4
87
88
with :
88
- name : burrito-${{ github.sha }}-ubuntu-22 .04-9.10
89
+ name : burrito-${{ github.sha }}-ubuntu-24 .04-9.12
89
90
- run : tar --extract --file artifact.tar --verbose
90
91
- uses : softprops/action-gh-release@v2
91
92
with :
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ flag pedantic
38
38
manual : True
39
39
40
40
common library
41
- build-depends : base ^>= 4.18 .0.0 || ^>= 4.19 .0.0 || ^>= 4.20 .0.0
41
+ build-depends : base ^>= 4.19 .0.0 || ^>= 4.20 .0.0 || ^>= 4.21 .0.0
42
42
default-language : Haskell2010
43
43
ghc-options :
44
44
-Weverything
@@ -48,6 +48,7 @@ common library
48
48
-Wno-missing-deriving-strategies
49
49
-Wno-missing-exported-signatures
50
50
-Wno-missing-kind-signatures
51
+ -Wno-missing-role-annotations
51
52
-Wno-missing-safe-haskell-mode
52
53
-Wno-prepositive-qualified-module
53
54
-Wno-safe
@@ -56,9 +57,6 @@ common library
56
57
if flag(pedantic)
57
58
ghc-options : -Werror
58
59
59
- if impl(ghc >= 9.8 )
60
- ghc-options : -Wno-missing-role-annotations
61
-
62
60
common executable
63
61
import : library
64
62
build-depends : burrito
@@ -72,7 +70,7 @@ library
72
70
bytestring ^>= 0.11.4.0 || ^>= 0.12.0.2 ,
73
71
containers ^>= 0.6.7 || ^>= 0.7 ,
74
72
parsec ^>= 3.1.16.1 ,
75
- template-haskell ^>= 2.20 .0.0 || ^>= 2.21 .0.0 || ^>= 2.22 .0.0 ,
73
+ template-haskell ^>= 2.21 .0.0 || ^>= 2.22 .0.0 || ^>= 2.23 .0.0 ,
76
74
text ^>= 2.0.2 || ^>= 2.1 ,
77
75
transformers ^>= 0.6.1.0 ,
78
76
You can’t perform that action at this time.
0 commit comments