Skip to content

Commit c3283f9

Browse files
committed
wip
1 parent 107426a commit c3283f9

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,26 @@ name: Haskell-CI
22
on: [push]
33
jobs:
44
linux:
5-
name: ${{ matrix.stack-yaml }}
5+
name: GHC-${{ matrix.ghc-version }}
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
stack-yaml: [stack.yaml, lts-18.18.yaml, lts-13.21.yaml]
9+
ghc-version:
10+
- 8.6.5
11+
- 8.10.7
12+
- 9.0.2
13+
- 9.2.4
1014
steps:
1115
- uses: actions/checkout@v3
1216
- uses: haskell/actions/setup@v2
1317
with:
1418
enable-stack: true
19+
ghc-version: ${{ matrix.ghc-version }}
1520
stack-version: 'latest'
16-
- run: stack --stack-yaml ${{ matrix.stack-yaml }} --install-ghc test --fast --haddock
21+
- uses: actions/cache@v3
22+
with:
23+
path: |
24+
~/.stack
25+
./.stack-work
26+
key: ${{ matrix.ghc-version }}
27+
- run: stack --stack-yaml ghc-${{ matrix.ghc-version }}.yaml --install-ghc test --fast --haddock
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)