Update version to 1.2 #215
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 test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Stack | |
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' | |
- name: Clone project | |
uses: actions/checkout@v3 | |
- name: Cache ~/.stack | |
uses: actions/cache@v3 | |
with: | |
path: ~/.stack | |
key: stack-${{ runner.os }}-${{ runner.arch }} | |
- name: Build and run tests | |
run: "cd haskell; stack build --fast adl-compiler; stack test --fast --no-terminal adl-compiler" |