Skip to content

ci

ci #99

Workflow file for this run

name: ci
on:
push:
pull_request:
schedule:
- cron: '0 3 * * 6' # 3am Saturday
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc: ['9.6', '9.4', '9.2', '9.0', '8.10', '8.8']
include:
- os: windows-latest
- os: macOS-latest
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
- run: cabal v2-freeze --enable-tests
- uses: actions/cache@v2
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- uses: ndmitchell/neil@master