Fix rendering of the Number type #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [pull_request] | |
name: build | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.2', '9.4.2'] | |
name: Haskell GHC ${{ matrix.ghc }} cabal | |
env: | |
cabal_project_freeze: cabal.project.${{ matrix.ghc }}.freeze | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: haskell/actions/setup@v2 | |
id: setup-haskell-build | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
- name: Cache Cabal build artifacts | |
uses: actions/cache@v2 | |
with: | |
path: | | |
${{ steps.setup-haskell-build.outputs.cabal-store }} | |
dist-newstyle | |
key: ${{ runner.os }}-cabal-${{ matrix.ghc }}-${{ hashFiles(env.cabal_project_freeze) }} | |
restore-keys: | | |
${{ runner.os }}-cabal-${{ matrix.ghc }} | |
- name: Cabal build dependencies | |
run: | | |
cabal build all --enable-tests --only-dependencies --project-file=cabal.project.${{ matrix.ghc }} | |
- name: Cabal build packages | |
run: | | |
cabal build all --enable-tests --project-file=cabal.project.${{ matrix.ghc }} | |
- name: Cabal test | |
run: | | |
cabal test all --enable-tests --test-show-details=Always --project-file=cabal.project.${{ matrix.ghc }} |