stackage-server/.github/actions/stack-test/action.yml
2026-04-13 11:22:19 +03:00

20 lines
457 B
YAML

name: stack test
description: Build and test with stack
runs:
using: composite
steps:
- uses: haskell/ghcup-setup@v1
id: ghcup
with:
stack-hook: true
stack: latest
- uses: actions/cache@v4
with:
path: ~/.stack
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }}
restore-keys: |
stack-${{ runner.os }}-
${{ runner.os }}-
- run: stack test
shell: bash