Skip to content

CI: Run on latest versions of Ubuntu and macOS #11

CI: Run on latest versions of Ubuntu and macOS

CI: Run on latest versions of Ubuntu and macOS #11

Workflow file for this run

name: Haskell Stack CI
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache .stack-work
uses: actions/cache@v4
with:
path: .stack-work
key: ulid_stack-work_ubuntu
restore-keys: ulid_stack-work_ubuntu
- name: Setup Stack
uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-no-global: true
- name: Run test suite including test coverage
run: stack test --coverage
- name: Run benchmarks
run: stack bench
- name: Build documentation
run: stack haddock
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Cache .stack-work
uses: actions/cache@v4
with:
path: .stack-work
key: ulid_stack-work_macos
restore-keys: ulid_stack-work_macos
- name: Setup Stack
uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-no-global: true
- name: Run test suite including test coverage
run: stack test --coverage
- name: Run benchmarks
run: stack bench
- name: Build documentation
run: stack haddock