Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #71

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #71

Workflow file for this run

name: Cabal
on: ['pull_request', 'push']
jobs:
build:
name: Build on ${{ matrix.os }} GHC ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
ghc: ["9.4", "9.6", "9.8"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v2
name: Setup Haskell Cabal
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v2
name: Cache ~/.cabal
with:
path: ~/.cabal
key: "${{ runner.os }}-${{ matrix.ghc }}-v9-${{ hashFiles('stylish-haskell.cabal') }}"
- name: Build
run: cabal build
id: build
- name: Test
run: cabal test