mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-05-10 13:15:26 +02:00
20 lines
457 B
YAML
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
|