Skip to content

Commit

Permalink
Add stack.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Mar 16, 2024
1 parent 6801bf9 commit 0eee525
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test stack.yaml

on:
push:
branches:
- master
tags:
- 'v*'
pull_request:
branches:
- master
schedule:
- cron: '0 2 * * *'

jobs:
build:
name: Build binary
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- os: [macOS-latest, macOS-11, windows-latest, ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Run build
run: |
ghcup run --stack latest -- stack build

0 comments on commit 0eee525

Please sign in to comment.