Skip to content

Bump actions/checkout from 3 to 4 #53

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #53

Workflow file for this run

name: ci
on:
push: {}
pull_request: {}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
ghc: ['latest', '9.0.1', '8.10.7', '8.8.4']
steps:
- uses: actions/checkout@v4
- uses: haskell/actions/[email protected]
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Build
run: |
cabal update
cabal v1-install --only-dependencies --enable-tests
cabal v1-configure --enable-tests
cabal v1-test
- name: Haddock
run: cabal haddock