File tree 4 files changed +25
-8
lines changed 4 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ inputs:
23
23
runs :
24
24
using : " composite"
25
25
steps :
26
- - uses : haskell/actions/setup@v1
26
+ - uses : haskell/actions/setup@v2
27
27
id : HaskEnvSetup
28
28
with :
29
29
ghc-version : ${{ inputs.ghc }}
74
74
# We have to restore package sources before `cabal update`
75
75
# because it overwrites the hackage index with the cached one
76
76
- name : Hackage sources cache
77
- uses : actions/cache@v2
77
+ uses : actions/cache@v3
78
78
env :
79
79
cache-name : hackage-sources
80
80
with :
99
99
100
100
- name : Compiled deps cache
101
101
id : compiled-deps
102
- uses : actions/cache@v2
102
+ uses : actions/cache@v3
103
103
env :
104
104
cache-name : compiled-deps
105
105
with :
Original file line number Diff line number Diff line change 80
80
strategy :
81
81
fail-fast : false
82
82
matrix :
83
- ghc : [ "9.2.4"
83
+ # This list of GHC versions must fit to the list of GHC versions
84
+ # specified in 'test.yml'
85
+ ghc : [ "9.4.2"
86
+ , "9.4.1"
87
+ , "9.2.4"
84
88
, "9.2.3"
85
89
, "9.0.2"
86
90
, "8.10.7"
89
93
, "macOS-latest"
90
94
, "windows-latest"
91
95
]
96
+ exclude :
97
+ - os : windows-latest
98
+ ghc : ' 9.4.1'
92
99
93
100
steps :
94
101
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 26
26
- uses : actions/checkout@v3
27
27
- uses : ./.github/actions/setup-build
28
28
with :
29
+ # select a stable GHC version
30
+ ghc : 9.2.5
29
31
os : ${{ runner.os }}
30
32
shorten-hls : false
31
33
Original file line number Diff line number Diff line change 56
56
runs-on : ${{ matrix.os }}
57
57
strategy :
58
58
fail-fast : true
59
+ # when you edit this list of GHC versions,
60
+ # **don't forget**
61
+ # to update the ghc versions in 'caching.yml'.
59
62
matrix :
60
63
ghc : [ "9.4.2"
61
64
, "9.4.1"
66
69
]
67
70
os : [ "ubuntu-latest"
68
71
, "macOS-latest"
72
+ , "windows-latest"
69
73
]
74
+ # don't build these versions
75
+ # they are broken for good reasons, e.g. compiler is bugged
76
+ # on that platform.
77
+ exclude :
78
+ - os : windows-latest
79
+ ghc : ' 9.4.1'
80
+ # Mark which GHC versions on which platform we want to test.
70
81
include :
71
82
# only test supported ghc major versions
72
83
- os : ubuntu-latest
93
104
- os : windows-latest
94
105
ghc : ' 8.10.7'
95
106
test : true
96
- # only build rest of supported ghc versions for windows
97
- - os : windows-latest
98
- ghc : ' 9.2.3'
99
107
100
108
steps :
101
109
- uses : actions/checkout@v3
@@ -115,7 +123,7 @@ jobs:
115
123
run : |
116
124
echo "TEST_OPTS=-j1 --rerun-update --rerun-filter failures,exceptions" >> $GITHUB_ENV
117
125
118
- - name : Cache test log bewteen attempts of the same run
126
+ - name : Cache test log between attempts of the same run
119
127
uses : actions/cache@v3
120
128
env :
121
129
cache-name : cache-test-log
You can’t perform that action at this time.
0 commit comments