GitHub CI - try with stack.
This commit is contained in:
parent
f2612fa1ae
commit
4411af8062
1 changed files with 3 additions and 7 deletions
10
.github/workflows/haskell.yml
vendored
10
.github/workflows/haskell.yml
vendored
|
@ -9,12 +9,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install recent cabal/ghc
|
||||
run: add-apt-repository ppa:hvr/ghc && apt-get update && apt-get install ghc-8.6.4 cabal-install-2.4
|
||||
- name: Install dependencies
|
||||
run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests
|
||||
- name: Build
|
||||
run: stack update && stack build --only-dependencies
|
||||
- name: Build and test
|
||||
run: |
|
||||
cabal v2-build --enable-tests
|
||||
- name: Run tests
|
||||
run: cabal v2-test
|
||||
stack test
|
||||
|
|
Loading…
Reference in a new issue