Skip to content

Make ghc-source-gen compatible with GHC 9.10 #12

Make ghc-source-gen compatible with GHC 9.10

Make ghc-source-gen compatible with GHC 9.10 #12

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc: ["9.0", "9.2", "9.4", "9.6", "9.8", "9.10"]
env:
STACK_YAML: stack-${{ matrix.ghc }}.yaml
runs-on: ${{ matrix.os }}
steps:
# 1. checkout
- uses: actions/checkout@v4
# cache ~/.stack and .stack work, using matrix dimensions as keys
- uses: actions/cache@v3
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-stack-${{ matrix.ghc }}-${{ hashFiles(env.STACK_YAML) }}
# run stack test
- name: Run stack test
run: stack test --keep-going