Skip to content

bump of text and containers upper bounds #25

bump of text and containers upper bounds

bump of text and containers upper bounds #25

Workflow file for this run

on: [push]
name: haskell-ci
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ['8.6.5', '8.8.4', '8.10.7', '9.2.5', '9.4.4']
os: [ubuntu-latest]
docspec: [false]
experimental: [false]
include:
- os: windows-latest
ghc: '9.4.3'
experimental: true
- os: macOS-latest
ghc: '9.2.5'
experimental: true
- os: ubuntu-latest
ghc: '9.2.5'
experimental: true
docspec: true
continue-on-error: true
name: ghc ${{ matrix.ghc }} ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
enable-stack: false
- uses: actions/cache@v3
with:
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
path: ~/.cabal/store
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- if: matrix.docspec
name: install cabal-docspec
run: |
mkdir -p $HOME/.cabal/bin
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20210111/cabal-docspec-0.0.0.20210111.xz > cabal-docspec.xz
echo '0829bd034fba901cbcfe491d98ed8b28fd54f9cb5c91fa8e1ac62dc4413c9562 cabal-docspec.xz' | sha256sum -c -
xz -d < cabal-docspec.xz > $HOME/.cabal/bin/cabal-docspec
rm -f cabal-docspec.xz
chmod a+x $HOME/.cabal/bin/cabal-docspec
$HOME/.cabal/bin/cabal-docspec --version
- name: cabal build
run: |
cabal update
cabal configure --enable-tests
cabal build
cabal test
- if: matrix.docspec
name: run cabal-docspec
run: cabal-docspec --check-properties