Skip to content

Commit 1f8e905

Browse files
committed
Try updating GitHub CI
1 parent 986d178 commit 1f8e905

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/haskell.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
name: github-action
22

3-
on: [push, pull_request]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
77
strategy:
8+
fail-fast: false
89
matrix:
9-
ghc: ['8.6.5', '8.8.4']
10+
ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1', '9.12.1']
1011
os: ['ubuntu-latest', 'macos-latest']
1112
runs-on: ${{ matrix.os }}
1213

1314
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
1415
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-haskell@v1
16+
17+
- uses: actions/checkout@v3
18+
19+
- uses: haskell-actions/[email protected]
1720
with:
1821
ghc-version: ${{ matrix.ghc }}
22+
cabal-version: '3.10.3.0'
23+
1924
- name: Cache
20-
uses: actions/cache@v1
25+
uses: actions/cache@v3
2126
env:
2227
cache-name: cache-cabal
2328
with:
@@ -33,7 +38,12 @@ jobs:
3338
run: |
3439
cabal update
3540
cabal build --only-dependencies --enable-tests --enable-benchmarks
41+
3642
- name: Build
3743
run: cabal build --enable-tests --enable-benchmarks all
44+
3845
- name: Run tests
39-
run: cabal test all
46+
run: cabal test --enable-tests all
47+
48+
- name: Build Docs
49+
run: cabal haddock

0 commit comments

Comments
 (0)