Skip to content

Remove nulls from generated JSON #51

Remove nulls from generated JSON

Remove nulls from generated JSON #51

Workflow file for this run

name: cabal
on:
push:
branches: [main, ci-cabal]
pull_request:
branches: [main]
jobs:
build:
name: ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.6"]
ghc:
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.2"
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
name: setup GHC and cabal-install
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: rwe/actions-hlint-setup@v1
name: Set up HLint
with:
version: "3.3.6"
- uses: actions/cache@v2
name: cache ~/.cabal/store
with:
path: ~/.cabal/store
key: ${{ runner.os }}-${{ matrix.cabal }}-${{ matrix.ghc }}-cabal
- name: build
run: |
cabal update
cabal build all --enable-tests
- name: test golden
run: cabal test test:golden --test-show-details=direct --test-option="--color=always"
- uses: rwe/actions-hlint-run@v2
name: hlint
with:
path: '["library", "exe", "test-suite-golden/src"]'
fail-on: suggestion