git.iko.soy/typeable/generic-arbitrary
on master help sign in
wip
c3283f9Aleksey Uymanov
.github/workflows/haskell-ci.yml+14−3
@@ -2,15 +2,26 @@ name: Haskell-CI
2on: [push]
2on: [push]
3jobs:
3jobs:
4 linux:
4 linux:
5− name: ${{ matrix.stack-yaml }}
5+ name: GHC-${{ matrix.ghc-version }}
6 runs-on: ubuntu-latest
6 runs-on: ubuntu-latest
7 strategy:
7 strategy:
8 matrix:
8 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
10 steps:
14 steps:
11 - uses: actions/checkout@v3
15 - uses: actions/checkout@v3
12 - uses: haskell/actions/setup@v2
16 - uses: haskell/actions/setup@v2
13 with:
17 with:
14 enable-stack: true
18 enable-stack: true
19+ ghc-version: ${{ matrix.ghc-version }}
15 stack-version: 'latest'
20 stack-version: 'latest'
21+ - uses: actions/cache@v3
22+ with:
23+ path: |
24+ ~/.stack
25+ ./.stack-work
26+ key: ${{ matrix.ghc-version }}
16− - run: stack --stack-yaml ${{ matrix.stack-yaml }} --install-ghc test --fast --haddock
27+ - run: stack --stack-yaml ghc-${{ matrix.ghc-version }}.yaml --install-ghc test --fast --haddock
lts-18.18.yaml → ghc-8.10.7.yamlrenamed

The content is the same.

lts-18.18.yaml.lock → ghc-8.10.7.yaml.lockrenamed

The content is the same.

lts-13.21.yaml → ghc-8.6.5.yamlrenamed

The content is the same.

lts-13.21.yaml.lock → ghc-8.6.5.yaml.lockrenamed

The content is the same.