File tree Expand file tree Collapse file tree 2 files changed +38
-9
lines changed
Expand file tree Collapse file tree 2 files changed +38
-9
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,28 @@ jobs:
1010 name : ${{ matrix.os }} - GHC ${{ matrix.ghc }}
1111 runs-on : ${{ matrix.os }}
1212 strategy :
13+ fail-fast : false
1314 matrix :
14- os : [ubuntu-latest, macOS-latest, windows-latest]
15+ os : [ubuntu-latest]
16+ # Check the haddock step below which is limited to a single GHC version!
1517 ghc :
16- - 9.8
17- - 9.6
18- - 9.4
19- - 9.2
20- fail-fast : false
18+ - ' 9.10'
19+ - ' 9.8'
20+ - ' 9.6'
21+ - ' 9.4'
22+ - ' 9.2'
23+ - ' 9.0'
24+ - ' 8.10'
25+ - ' 8.8'
26+ - ' 8.6'
27+ - ' 8.4'
28+ - ' 8.2'
29+ - ' 8.0'
30+ include :
31+ - os : macos-latest
32+ ghc : ' 9.10'
33+ - os : windows-latest
34+ ghc : ' 9.10'
2135
2236 steps :
2337 - uses : actions/checkout@v4
3448 cabal build all --dry-run
3549
3650 - name : Restore cache
37- uses : actions/cache/restore@v3
51+ uses : actions/cache/restore@v4
3852 id : cache
3953 with :
4054 path : ${{ steps.setup.outputs.cabal-store }}
@@ -48,12 +62,13 @@ jobs:
4862 - run : cabal build all
4963 - run : cabal test all
5064 - run : cabal haddock
65+ if : matrix.ghc == '9.8'
5166 - run : cabal check
5267 - run : cabal sdist
5368
5469 - name : Save cache
55- uses : actions/cache/save@v3
56- if : always()
70+ uses : actions/cache/save@v4
71+ if : always() && steps.cache.outputs.cache-hit != 'true'
5772 with :
5873 key : ${{ steps.cache.outputs.cache-primary-key }}
5974 path : ${{ steps.setup.outputs.cabal-store }}
Original file line number Diff line number Diff line change @@ -15,6 +15,20 @@ category: System
1515build-type : Simple
1616cabal-version : >= 1.10
1717
18+ tested-with :
19+ GHC == 9.10.1
20+ GHC == 9.8.2
21+ GHC == 9.6.5
22+ GHC == 9.4.8
23+ GHC == 9.2.8
24+ GHC == 9.0.2
25+ GHC == 8.10.7
26+ GHC == 8.8.4
27+ GHC == 8.6.5
28+ GHC == 8.4.4
29+ GHC == 8.2.2
30+ GHC == 8.0.2
31+
1832extra-source-files :
1933 CHANGELOG.md
2034
You can’t perform that action at this time.
0 commit comments