Skip to content

Commit 4c31d42

Browse files
committed
github actions
1 parent aeb7532 commit 4c31d42

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/github-page.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Haddock documentation"
1+
name: Haddocks
22

33
on:
44
schedule:
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
haddocks:
10-
name: "Haddocks"
10+
name: Haddocks
1111

1212
runs-on: ${{ matrix.os }}
1313

@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
ghc: ["9.10.1"]
21+
ghc: ["9.10"]
2222
os: [ubuntu-latest]
2323

2424
permissions:
@@ -54,13 +54,10 @@ jobs:
5454
- name: Update Hackage index
5555
run: cabal update
5656

57-
- name: Build plan
58-
run: cabal build --dry-run --enable-tests all
59-
6057
- name: Run pandoc
61-
run: pandoc --from=markdown_github --to=haddock --output=README.haddock io-classes/README.md io-sim/README.md
58+
run: pandoc --from=gfm --to=haddock --output=README.haddock io-classes/README.md io-sim/README.md
6259

63-
- name: Build Haddock documentation 🔧
60+
- name: Build haddocks 🔧
6461
run: |
6562
cabal haddock-project --prologue=README.haddock --hackage all
6663

.github/workflows/haskell.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: setup-haskell
2828
with:
2929
ghc-version: ${{ matrix.ghc }}
30-
cabal-version: "3.10.3.0"
30+
cabal-version: "3.12.1.0"
3131

3232
- name: Install LLVM (macOS)
3333
if: runner.os == 'macOS' && matrix.ghc == '8.10'
@@ -85,8 +85,7 @@ jobs:
8585

8686
- name: Build dependencies
8787
run: |
88-
cabal build --only-dependencies io-classes
89-
cabal build --only-dependencies io-sim
88+
cabal build --only-dependencies all
9089
9190
- uses: actions/cache/save@v4
9291
name: "Save cabal store"

0 commit comments

Comments
 (0)