Skip to content

v0.2.1.4-r1: allow newer tasty-quickcheck #3

v0.2.1.4-r1: allow newer tasty-quickcheck

v0.2.1.4-r1: allow newer tasty-quickcheck #3

Workflow file for this run

name: Stack build
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
jobs:
stack:
name: ${{ matrix.os }} Stack ${{ matrix.plan.resolver }} / ${{ matrix.plan.ghc }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
plan:
- ghc: '9.8.2'
resolver: 'nightly-2024-04-25'
- ghc: '9.6.4'
resolver: 'lts-22.18'
- ghc: '9.4.8'
resolver: 'lts-21.25'
- ghc: '9.2.8'
resolver: 'lts-20.26'
- ghc: '9.0.2'
resolver: 'lts-19.33'
- ghc: '8.10.7'
resolver: 'lts-18.28'
- ghc: '8.8.4'
resolver: 'lts-16.31'
- ghc: '8.6.5'
resolver: 'lts-14.27'
- ghc: '8.4.4'
resolver: 'lts-12.26'
- ghc: '8.2.2'
resolver: 'lts-11.22'
# LTS 9.21 does not have recent enough parsec and test
# - ghc: '8.0.2'
# resolver: 'lts-9.21'
include:
- os: windows-latest
plan:
ghc: '9.8.2'
resolver: 'nightly-2024-04-25'
- os: macos-latest
plan:
ghc: '9.8.2'
resolver: 'nightly-2024-04-25'
runs-on: ${{ matrix.os }}
env:
STACK: stack --system-ghc --no-terminal --resolver ${{ matrix.plan.resolver }}
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@latest
id: setup
with:
ghc-version: ${{ matrix.plan.ghc }}
enable-stack: true
cabal-update: false
- uses: actions/cache/restore@v4
id: cache
env:
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-
with:
path: ${{ steps.setup.outputs.stack-root }}
key: ${{ env.key }}-${{ github.sha }}
restore-keys: ${{ env.key }}-
- name: Configure
run: $STACK init
- name: Install dependencies
run: $STACK test --only-dependencies
- name: Build
run: $STACK test --haddock --no-haddock-deps --no-run-tests
- name: Test
run: $STACK -j 1 test --haddock --no-haddock-deps
- uses: actions/cache/save@v4
if: always() && steps.cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.setup.outputs.stack-root }}
key: ${{ steps.cache.outputs.cache-primary-key }}