Skip to content

Update README.md

Update README.md #12

Workflow file for this run

name: Cabal CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: cabal-${{ matrix.cabal}} ${{ matrix.ghc }} ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
ghc: ["8.10.1", "8.8.1", "8.6.5", "8.6.4", "8.6.3", "8.6.2"]
cabal: ["3.0", "3.2"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-haskell@v1
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: actions/cache@v1
name: Cache ~/.cabal/packages
with:
path: ~/.cabal/packages
key: cabal-packages-${{ matrix.ghc }}
- uses: actions/cache@v1
name: Cache ~/.cabal/store
with:
path: ~/.cabal/store
key: cabal-store-${{ matrix.ghc }}
- uses: actions/cache@v1
name: Cache dist-newstyle
with:
path: dist-newstyle
key: dist-newstyle-${{ matrix.ghc }}
- name: Install dependencies
run: |
cabal update
- name: Build
run: |
cabal new-install tasty-discover
cabal new-build