Skip to content

Replaced actions/setup-haskell (deprecated) with `haskell/actions/s… #81

Replaced actions/setup-haskell (deprecated) with `haskell/actions/s…

Replaced actions/setup-haskell (deprecated) with `haskell/actions/s… #81

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['8.8', '8.10']
steps:
- uses: actions/checkout@v3
- name: Setup Haskell
uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: 'latest'
- uses: actions/cache@v2.1.4
with:
path: ~/.cabal
key: cabal--${{ matrix.ghc }}-${{ hashFiles('*/*.cabal') }}
restore-keys: |
cabal--${{ matrix.ghc }}-${{ hashFiles('*/*.cabal') }}
cabal--${{ matrix.ghc }}-
cabal-
- run: cabal update
- run: cabal configure --enable-tests -fexample
- run: cabal build all --only-dependencies
- run: cabal build all
- run: cabal test all
env:
ROLLBAR_TOKEN: ${{ secrets.ROLLBAR_TOKEN }}