wstunnel/.github/workflows/haskell.yml

25 lines
420 B
YAML
Raw Normal View History

name: Haskell CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Build
run: |
stack config set system-ghc --global true
stack setup
stack build
- name: Run tests
run: stack test