Skip to content

Allow tar-conduit 0.4.0 #375

Allow tar-conduit 0.4.0

Allow tar-conduit 0.4.0 #375

Workflow file for this run

name: CI
# Trigger the workflow on push or pull request, but only for the master branch
on:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
cabal: ["3.2.0.0", "3.4.0.0", "3.6.0.0"]
ghc: ["8.10.7", "9.0.2", "9.2.2"]
os: [ubuntu-latest]
exclude:
- cabal: "3.2.0.0"
ghc: "9.0.2"
- cabal: "3.2.0.0"
ghc: "9.2.2"
- cabal: "3.4.0.0"
ghc: "9.2.2"
- cabal: "3.6.0.0"
ghc: "8.10.7"
- cabal: "3.6.0.0"
ghc: "9.0.2"
steps:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- uses: haskell/actions/setup@v1
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: actions/cache@v1
name: Cache ~/.cabal/store
with:
path: ~/.cabal/store
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal
- name: Build
run: |
cabal v2-update
cabal v2-build --enable-tests --enable-benchmarks
- name: Test
run: |
cabal v2-test