Use Aeson 2.2 by default in preparation for 1.1 #205
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: Stack Haskell Builds | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
matrix: | |
resolver: | |
- lts-13 | |
- lts-14 | |
- lts-15 | |
- lts-16 | |
- lts-17 | |
- lts-18 | |
- lts-19 | |
- lts-20 | |
- lts-21 | |
experimental: | |
- false | |
include: | |
- resolver: nightly | |
experimental: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.stack | |
.stack-work | |
key: ${{ matrix.resolver }} | |
- name: Install Stack | |
uses: ./.github/actions/install_stack | |
- name: Install Project Dependencies | |
run: | | |
set -ex | |
stack --no-docker --no-terminal --install-ghc --stack-yaml stack-$RESOLVER.yaml --resolver $RESOLVER test --bench --only-dependencies | |
set +ex | |
env: | |
RESOLVER: ${{ matrix.resolver }} | |
- name: Build Project | |
run: | | |
set -ex | |
stack --no-docker --no-terminal --stack-yaml stack-$RESOLVER.yaml --resolver $RESOLVER test --bench --no-run-benchmarks --haddock --no-haddock-deps | |
set +ex | |
env: | |
RESOLVER: ${{ matrix.resolver }} |