Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Support GHC 9.6.1 (#47) #175

Support GHC 9.6.1 (#47)

Support GHC 9.6.1 (#47) #175

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
jobs:
Build:
name: Build (GHC ${{ matrix.ghc-version }})
strategy:
fail-fast: false
matrix:
ghc-version: [
9.6.1,
9.4.5,
9.4.4,
9.4.3,
9.4.2,
9.4.1,
9.2.8,
9.2.7
]
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/install-stack
- uses: ./.github/actions/cache
- name: Compile Project
run: stack --compiler ghc-${{ matrix.ghc-version }} build
# This is to check if the project has been compiled with the correct version of ghc-lib.
# For example, if there is a mismatch, we would get something like "Unknown Constructor: Char"
- name: Check Basic Suggestion
run: stack --compiler ghc-${{ matrix.ghc-version }} run test/assets/invalid/expect-char.hs