forked from OSS/graphql-spice
32 lines
623 B
YAML
32 lines
623 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
audit:
|
|
runs-on: buildenv
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: hlint -- src tests
|
|
|
|
test:
|
|
runs-on: buildenv
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: cabal update
|
|
- name: Prepare system
|
|
run: cabal build graphql-test
|
|
- run: cabal test --test-show-details=streaming
|
|
|
|
doc:
|
|
runs-on: buildenv
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: cabal update
|
|
- run: cabal haddock --enable-documentation
|