Skip to content

CI: Add GHC 9.14

CI: Add GHC 9.14 #137

Workflow file for this run

name: no-text
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
ghc: ['latest', '8.0']
fail-fast: false
steps:
- uses: actions/checkout@v6
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v5
name: Cache cabal stuff
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Build
# There are linking error when building hashable, see #212.
run: cabal build -f-text --constraint 'semigroups -hashable' prettyprinter:prettyprinter