slackbuilder/.gitea/workflows/build.yml
Eugen Wissner bdbf1a6f15
Some checks failed
Build / audit (push) Failing after 15m11s
Build / test (push) Successful in 15m2s
Switch to the haskell image
2024-03-06 13:47:50 +01:00

37 lines
853 B
YAML

name: Build
on:
push:
pull_request:
branches: [master]
jobs:
audit:
runs-on: haskell
steps:
- name: Set up environment
run: |
apt-get update -y
apt-get upgrade -y
apt-get install -y nodejs pkg-config liblzma-dev
- uses: actions/checkout@v4
- name: Install dependencies
run: |
cabal update
cabal install hlint "--constraint=hlint ==3.8"
- run: cabal exec hlint -- src lib tests
test:
runs-on: haskell
steps:
- name: Set up environment
run: |
apt-get update -y
apt-get upgrade -y
apt-get install -y nodejs pkg-config liblzma-dev
- uses: actions/checkout@v4
- name: Install dependencies
run: |
cabal update
- run: cabal test --test-show-details=streaming