Skip to content

Uplift to lts-22.27 #83

Uplift to lts-22.27

Uplift to lts-22.27 #83

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
- rc/*
jobs:
Tests:
name: Test ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup latest stack
uses: haskell/actions/setup@v2
with:
enable-stack: true
stack-version: 'latest'
- name: Cache .stack-root
uses: actions/cache@v1
env:
cache-name: stack-root
with:
path: .stack-root
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('stack.yaml') }}
- name: Test
shell: bash
run: |
set -ex
export STACK_ROOT=$(pwd)/.stack-root
stack test --haddock --no-haddock-deps