bump aeson bounds to < 2.3 #37
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
name: Tests Cabal | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'src/**' | |
- 'test/**' | |
- 'quickjs/**' | |
- 'stack.yaml' | |
- 'quickjs-hs.cabal' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
plan: | |
- { ghc: "8.10.4" } | |
- { ghc: "9.2.4" } | |
env: | |
CONFIG: "--enable-tests --enable-benchmarks" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: haskell/actions/setup@v2 | |
id: setup-haskell-cabal | |
with: | |
ghc-version: ${{ matrix.plan.ghc }} | |
- run: cabal v2-update | |
- run: cabal v2-freeze $CONFIG | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
${{ steps.setup-haskell-cabal.outputs.cabal-store }} | |
dist-newstyle | |
key: ${{ runner.os }}-${{ matrix.plan.ghc }}-${{ hashFiles('cabal.project.freeze') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.plan.ghc }}- | |
- run: cabal v2-build $CONFIG | |
- run: cabal v2-test $CONFIG |