Added github actions weeder (#3)

This commit is contained in:
iko 2019-09-21 17:41:57 +03:00 committed by GitHub
parent d57c98798d
commit f547bca86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
@ -12,10 +12,11 @@ jobs:
- name: Install Stack
run: |
wget -qO- https://get.haskellstack.org/ | sh
# - name: Install dependencies
# run: cabal install --only-dependencies --enable-tests
- name: Build
run: |
stack build --fast --pedantic
# - name: Run tests
# run: cabal test
stack build --fast --pedantic --ghc-options '-j'
- name: Weeder
run: |
curl -sSL https://raw.github.com/ndmitchell/weeder/master/misc/run.sh | sh -s . --build