Skip to content

Merge pull request #25 from haskell-streaming/dependabot/github_actio… #45

Merge pull request #25 from haskell-streaming/dependabot/github_actio…

Merge pull request #25 from haskell-streaming/dependabot/github_actio… #45

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- name: Setup GHC
uses: haskell/actions/setup@v2
with:
ghc-version: "8.10.7"
enable-stack: true
stack-version: "latest"
- name: Clone project
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.stack
key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Build and run tests
run: "stack test --fast --no-terminal --system-ghc"