Refactor 64c7bbad0a2a00198657013d #854
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
--- | |
name: Build and run tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Run stack | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Haskell environment | |
uses: haskell/actions/setup@v1 | |
with: | |
ghc-version: '9.4.5' | |
cabal-version: '3.8.1.0' | |
enable-stack: true | |
stack-version: '2.9.1' | |
- name: Build solution | |
run: stack build | |
- name: Run tests | |
run: stack test |