bump primitive upper bound to 0.9 #366
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: [push, pull_request] | |
name: win-ci | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
ghc: ['9.2', '9.4', '9.6'] | |
cabal: ['3.8'] | |
name: Haskell GHC ${{ matrix.ghc }} | |
env: | |
CONFIG: "--enable-tests --enable-benchmarks --test-show-details=direct" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Setup Haskell | |
uses: haskell/actions/setup@v2 | |
id: setup-haskell-cabal # <--- give it a name for later cache usage | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
cabal-version: ${{ matrix.cabal }} | |
- run: | | |
cabal update | |
cabal freeze | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
${{ steps.setup-haskell-cabal.outputs.cabal-store }} | |
dist-newstyle | |
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.ghc }}- | |
- run: | | |
cabal configure $CONFIG | |
cabal build | |
cabal test | |
- run: | | |
cabal haddock | |
cabal check | |
cabal sdist |