graphql-spice/.gitea/workflows/build.yml
Eugen Wissner ce5fa260f4
All checks were successful
Build / audit (push) Successful in 6s
Build / test (push) Successful in 7m23s
Build / doc (push) Successful in 7m22s
Build only after pushing to a branch
2024-07-26 09:30:38 +02:00

34 lines
650 B
YAML

name: Build
on:
push:
branches:
- '**'
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