Skip to content

Add "fast" setup action #19

Add "fast" setup action

Add "fast" setup action #19

Workflow file for this run

name: foo
on:
pull_request:
jobs:
build:
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
ghc:
- 8.0.2
- 9.10.1
- 9.12.1
include:
- os: macos-latest
ghc: 9.12.2
# - os: windows-latest
# ghc: system
steps:
- run: rm -rf /usr/local/.ghcup/*
- run: |
dst=$RUNNER_OS-$ImageOS-$RUNNER_ARCH-ghc-${{ matrix.ghc }}.tar.gz
src=https://github.com/hspec/setup-haskell/releases/download/nightly/$dst
echo "$src"
curl -sSL "$src" | sudo tar -xzp -C /
- run: ghc --version
- run: cabal update
- run: cabal install --package-env=. --lib hspec