Files
starter-workflows/ci/haskell.yml
T
Edward Thomson 8beb802437 Renormalize line endings
We should have consistent line endings in our repository; now that we
have a .gitattributes file, update the repository contents to match
expectations.
2020-03-21 14:55:11 +00:00

30 lines
549 B
YAML

name: Haskell CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.8.2'
cabal-version: '3.0'
- name: Install dependencies
run: |
cabal update
cabal install --only-dependencies --enable-tests
- name: Build
run: |
cabal configure --enable-tests
cabal build
- name: Run tests
run: cabal test