Update haskell.yml
Former-commit-id: bd57e9e80b724320a2e25233f42508963bb79361 Former-commit-id: 9d82298054db7daf89d662d7314eb658ac29372e [formerly cae55fc763f7739b77ec610813257be1c796368e] [formerly 7ab017070eabb5cd22a163263781031873de218d [formerly a31e0c4b92aeec02b6378a738743501e8c1327d7 [formerly a31e0c4b92aeec02b6378a738743501e8c1327d7 [formerly a31e0c4b92aeec02b6378a738743501e8c1327d7 [formerly 601469c8ccfe9631997867818dda6950c8290b48]]]]] Former-commit-id: e7d115623441396378493f4ed45541d19bf09ea9 [formerly 4268a8670c134730afeaecfdac3348afe57d956c] Former-commit-id: 241344ee4d171fea514452b2c69cee5d58342c8a Former-commit-id: de938f4043fc6dc2dbe4b64b99fa6b96cfdf9526 Former-commit-id: 6d15c63778f50431aaacf70ffa8c5f3fbf497fa0 Former-commit-id: b2c6424200582a0611956eb798859763d99f3751 [formerly 0ccdc281ba9443e8a86405a6c526579ce5d9c3a4] Former-commit-id: ae386f67297c1887b03968f606b95925693e088b
This commit is contained in:
parent
69118efeca
commit
2a7bb50acf
1 changed files with 8 additions and 7 deletions
15
.github/workflows/haskell.yml
vendored
15
.github/workflows/haskell.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Haskell CI
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -13,13 +13,14 @@ jobs:
|
|||
with:
|
||||
ghc-version: '8.6.5'
|
||||
cabal-version: '3.0'
|
||||
- name: Install dependencies
|
||||
- name: Install stack
|
||||
run: |
|
||||
cabal update
|
||||
cabal install --only-dependencies --enable-tests
|
||||
curl -sSL https://get.haskellstack.org/ | sh
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cabal configure --enable-tests
|
||||
cabal build
|
||||
stack init
|
||||
stack build
|
||||
|
||||
- name: Run tests
|
||||
run: cabal test
|
||||
run: stack test
|
||||
|
|
Loading…
Reference in a new issue