Skip to content

Allow base-4.18

Allow base-4.18 #13

Workflow file for this run

name: Simple
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
native:
name: "Simple: GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
ghc: ['8.10','9.0','9.2','9.4.4','9.6.1']
fail-fast: false
timeout-minutes:
60
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: liblzma version
run: |
pkg-config liblzma --modversion || true
- name: Checkout
uses: actions/checkout@v3.0.2
- name: Set up Haskell
id: setup-haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.8.1.0'
- name: Cache
uses: actions/cache@v2.1.3
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- name: Build
run: cabal build all --enable-tests
- name: Test
run: cabal test all --enable-tests --test-show-details=direct