Release 0.4.0 #47
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: ~ | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ghc: ["9.6.4"] | |
stack: ["2.15.5"] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup Haskell Stack | |
uses: haskell/actions/[email protected] | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
stack-version: ${{ matrix.stack }} | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.stack | |
key: ${{ runner.os }}-${{ matrix.ghc }}-stack | |
- name: Install dependencies | |
run: | | |
stack --no-terminal build --system-ghc --pedantic --flag mkjson:-static --test --only-dependencies | |
- name: Build | |
run: | | |
stack --no-terminal build --system-ghc --pedantic --flag mkjson:-static | |
- name: Test | |
run: | | |
stack --no-terminal test --system-ghc --pedantic --flag mkjson:-static |