Skip to content

Commit 8ff9744

Browse files
committed
Try updating GitHub CI, version bounds
1 parent 986d178 commit 8ff9744

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
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

dombuilder-pandoc.cabal

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ extra-source-files: CHANGELOG.md
1717
library
1818
exposed-modules: Reflex.Dom.Builder.Pandoc
1919
Reflex.Dom.Builder.Pandoc.RawHtml
20-
build-depends: base >=4.12 && <4.15
21-
, containers >= 0.6 && <0.7
20+
build-depends: base >=4.12 && <4.22
21+
, containers >= 0.6 && <0.8
2222
, html-parse >= 0.2 && <0.3
2323
, pandoc-types >= 1.23 && <1.24
2424
, reflex-dom-core >= 0.7 && < 0.9
25-
, text >= 1.2 && <1.3
26-
-- We don't actually need aeson, but pandoc-types has a too-lenient bound
27-
, aeson >= 1.4 && <2.2
25+
, text >= 1.2 && <2.2
2826
hs-source-dirs: src
2927
default-language: Haskell2010
3028
ghc-options: -Wall

0 commit comments

Comments
 (0)