Skip to content

wip

wip #314

Workflow file for this run

# This GitHub workflow config has been generated by a script via
#
# haskell-ci '--config' 'cabal.haskell-ci' 'github' 'QuickCheck.cabal'
#
# To regenerate the script (for example after adjusting tested-with) run
#
# haskell-ci regenerate
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20240708
#
# REGENDATA ("0.19.20240708",["--config","cabal.haskell-ci","github","QuickCheck.cabal"])
#
name: Haskell-CI
on:
- push
- pull_request
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.ghc-version }}
runs-on: ubuntu-22.04
strategy:
matrix:
ghc-version: [9.10.1, 9.8.2, 9.8.1, 9.6.6, 9.6.5, 9.6.4, 9.6.3, 9.6.2, 9.6.1, 9.4.8, 9.4.7, 9.4.6, 9.4.5,
9.4.4, 9.4.3, 9.4.2, 9.4.1, 9.2.8, 9.2.7, 9.2.6, 9.2.5, 9.2.4, 9.2.3, 9.2.2, 9.2.1, 9.0.2,
9.0.1, 8.10.7, 8.10.6, 8.10.5, 8.10.4, 8.10.3, 8.10.2, 8.10.1, 8.8.4, 8.8.3, 8.8.2, 8.8.1,
8.6.5, 8.6.4, 8.6.3, 8.6.2, 8.6.1, 8.4.4, 8.4.3, 8.4.2, 8.4.1, 8.2.2, 8.0.2]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{matrix.ghc-version}}
- name: restore cache
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
restore-keys: ${{ runner.os }}-${{ matrix.ghc-version }}-
- run: cabal build all
- run: cabal test all
- run: cabal haddock all
- name: save cache
uses: actions/cache/save@v4
if: always()
with:
key: ${{ runner.os }}-${{ matrix.ghc-version }}-${{ github.sha }}
path: ~/.cabal/store