Add github workflows #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: build | |
jobs: | |
stack-build: | |
name: stack build | |
runs-on: ubuntu-latest # or macOS-latest, or windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: haskell-actions/setup@v2 | |
with: | |
ghc-version: '8.8.4' # Exact version of ghc to use | |
# cabal-version: 'latest'. Omitted, but defaults to 'latest' | |
enable-stack: true | |
stack-version: 'latest' | |
- run: | | |
stack build |