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

Use ghc-lib

Use ghc-lib #151

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.2,
9.6.1,
9.4.5,
9.4.4,
9.4.3,
9.4.2,
9.4.1,
9.2.7,
9.2.6,
9.2.5,
9.2.4,
9.2.3,
9.2.2,
9.2.1
]
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/install-stack
- uses: ./.github/actions/cache
- name: Compile Project
run: stack 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 run test/assets/invalid/expect-char.hs