Skip to content

Commit b34dd2a

Browse files
committed
Include GHC 8 in CI
1 parent cf977e1 commit b34dd2a

File tree

2 files changed

+38
-9
lines changed

2 files changed

+38
-9
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff 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
@@ -34,7 +48,7 @@ jobs:
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 }}

unix-compat.cabal

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ category: System
1515
build-type: Simple
1616
cabal-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+
1832
extra-source-files:
1933
CHANGELOG.md
2034

0 commit comments

Comments
 (0)