Skip to content

tests: both, indy, cmake #29

tests: both, indy, cmake

tests: both, indy, cmake #29

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2', '8.0']
name: Haskell GHC ${{ matrix.ghc }}
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v3
with:
path: |
~/.cabal
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal','**/cabal.project') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-
${{ runner.os }}-
- run: cabal update
- run: cabal build
- run: cabal haddock
- run: cabal test
- run: cabal check
- run: cabal sdist