Skip to content

fix: update stackage resolver to lts-22.11 for build compatibility #97

fix: update stackage resolver to lts-22.11 for build compatibility

fix: update stackage resolver to lts-22.11 for build compatibility #97

Workflow file for this run

name: Build & test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: haskell/actions/setup@v2
with:
ghc-version: "9.6.4" # Exact version of ghc to use
# cabal-version: 'latest'. Omitted, but defaults to 'latest'
enable-stack: true
stack-version: "2.15.1"
# Attempt to load cached dependencies
- name: Cache Stack dependencies
uses: actions/cache@v2
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}
- name: Build and test
run: |
stack build --test --no-run-tests --bench --no-run-benchmarks --haddock --no-haddock-deps --no-haddock-hyperlink-source --fast
# Save cached dependencies
- name: Cache Stack dependencies
uses: actions/cache@v2
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml') }}