graphql-spice/.gitea/workflows/build.yml

34 lines
650 B
YAML
Raw Permalink Normal View History

2023-11-27 14:09:45 +01:00
name: Build
on:
push:
2024-07-26 09:30:38 +02:00
branches:
- '**'
2023-11-27 14:09:45 +01:00
pull_request:
branches: [master]
jobs:
audit:
runs-on: buildenv
2023-11-27 14:09:45 +01:00
steps:
- uses: actions/checkout@v4
- run: hlint -- src tests
2023-11-27 14:09:45 +01:00
test:
runs-on: buildenv
2023-11-27 14:09:45 +01:00
steps:
- uses: actions/checkout@v4
- name: Install dependencies
2024-04-05 15:25:21 +02:00
run: cabal update
- name: Prepare system
run: cabal build graphql-test
- run: cabal test --test-show-details=streaming
2023-11-27 14:09:45 +01:00
doc:
runs-on: buildenv
2023-11-27 14:09:45 +01:00
steps:
- uses: actions/checkout@v4
- name: Install dependencies
2024-04-05 15:25:21 +02:00
run: cabal update
- run: cabal haddock --enable-documentation