name: Build on: push: pull_request: branches: [master] jobs: audit: runs-on: haskell env: hlint_version: 3.8 steps: - name: Set up environment run: | apt-get update -y apt-get upgrade -y apt-get install -y nodejs pkg-config wget2 - uses: actions/checkout@v4 - name: Install dependencies run: | wget2 -nv -O- \ https://github.com/ndmitchell/hlint/releases/download/v${{ env.hlint_version }}/hlint-${{ env.hlint_version }}-x86_64-linux.tar.gz \ | tar zx - run: ./hlint-${{ env.hlint_version }}/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 apk add --no-cache git bash curl build-base readline-dev openssl-dev zlib-dev libpq-dev gmp-dev - uses: actions/checkout@v4 - name: Install dependencies run: | cabal update - run: cabal test --test-show-details=streaming