Skip to content

test-macos-latest

test-macos-latest #484

on:
push:
schedule:
- cron: "0 ? * * 1"
name: test-macos-latest
jobs:
test-package:
name: Test
runs-on: macOS-latest
strategy:
matrix:
stack-yaml:
- stack.yaml
- stack-examples.yaml
stack-version:
- latest
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
enable-stack: true
stack-no-global: true
stack-version: ${{ matrix.stack-version }}
- env:
STACK_YAML: ${{matrix.stack-yaml }}
run: |
stack --skip-ghc-check test --flag github-webhooks:ci --haddock --no-haddock-deps
stack sdist
- uses: actions/upload-artifact@v3
with:
name: github-webhooks-macos-${{ matrix.stack-yaml }}-${{ github.sha }}
path: .stack-work/dist/