Skip to content

Bump GHC 9.4.7 resolver #29

Bump GHC 9.4.7 resolver

Bump GHC 9.4.7 resolver #29

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
# As of 11 October 2023, ubuntu-latest and windows-latest come with
# Stack 2.13.1. macos-latest comes with Stack 2.9.3.
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
resolver:
- stack-ghc-8.8.4.yaml
- stack-ghc-8.10.7.yaml
- stack-ghc-9.0.2.yaml
- stack-ghc-9.2.8.yaml
- stack-ghc-9.4.7.yaml
- stack-ghc-9.6.3.yaml
- stack-ghc-9.8.1.yaml
steps:
- name: Clone project
uses: actions/checkout@v3
- name: Cache dependencies on Unix-like OS
if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
uses: actions/cache@v3
with:
path: ~/.stack
key: ${{ runner.os }}-${{ hashFiles( matrix.resolver ) }}
- name: Cache dependencies on Windows
if: startsWith(runner.os, 'Windows')
uses: actions/cache@v3
with:
path: |
~\AppData\Roaming\stack
~\AppData\Local\Programs\stack
key: ${{ runner.os }}-${{ hashFiles( matrix.resolver ) }}
- name: Test
shell: bash
run: |
set -ex
stack --resolver=${{ matrix.resolver }} test --bench --only-dependencies
stack --resolver=${{ matrix.resolver }} test --haddock --no-haddock-deps --bench --no-run-benchmarks