summaryrefslogtreecommitdiff
path: root/.github/workflows/haskell.yml
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-10-29 22:51:36 +0100
committerEugen Wissner <belka@caraus.de>2020-10-30 07:06:36 +0100
commit6e8d8a34a1ce07b8d9cd10d8e5c3e009d17cfdf7 (patch)
treeb17c4ed73d8f94918c9a284ba7f80e6a5ed77627 /.github/workflows/haskell.yml
parent7c0b0ace4dacbb581669f88b83b9643a83fc797a (diff)
downloadgraphql-6e8d8a34a1ce07b8d9cd10d8e5c3e009d17cfdf7.tar.gz
Reflect infrastructure and license changes
Diffstat (limited to '.github/workflows/haskell.yml')
-rw-r--r--.github/workflows/haskell.yml63
1 files changed, 0 insertions, 63 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
deleted file mode 100644
index 665ac93..0000000
--- a/.github/workflows/haskell.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-name: Haskell CI
-
-on:
- push: ~
- pull_request:
- branches: [master]
-
-jobs:
- test:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-haskell@v1
- with:
- enable-stack: true
- stack-no-global: true
- stack-version: latest
-
- - name: Cache
- uses: actions/cache@v2
- with:
- path: |
- ~/.stack
- stack.yaml.lock
- key: ${{ runner.os }}-test-${{ hashFiles('**/stack.yaml') }}
- restore-keys: ${{ runner.os }}-test-
-
- - name: Install dependencies
- run: stack --no-terminal test --only-snapshot
- - name: Run tests
- run: stack --no-terminal test --pedantic
- - name: Build the documentation
- run: |
- stack --no-terminal ghc -- -Wall -Werror -fno-code docs/tutorial/tutorial.lhs
- stack --no-terminal haddock --no-haddock-deps
-
- lint:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-haskell@v1
- with:
- enable-stack: true
- stack-no-global: true
- stack-version: latest
-
- - name: Cache
- uses: actions/cache@v2
- with:
- path: |
- ~/.stack
- stack.yaml.lock
- key: ${{ runner.os }}-lint-${{ hashFiles('**/stack.yaml') }}
- restore-keys: ${{ runner.os }}-lint-
-
- - name: Build HLint
- run: stack --no-terminal build hlint
- - name: Install HLint
- run: stack --no-terminal install hlint
- - name: Lint
- run: stack --no-terminal exec hlint -- src tests docs