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:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- 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
|
- name: Install dependencies
|
||||||
run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests
|
run: stack update && stack build --only-dependencies
|
||||||
- name: Build
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
cabal v2-build --enable-tests
|
stack test
|
||||||
- name: Run tests
|
|
||||||
run: cabal v2-test
|
|
||||||
|
|
Loading…
Reference in a new issue