Merge pull request #170 from smucclaw/stack-lts-22.15 #149
Workflow file for this run
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: | |
# pull_request: # Don't run twice | |
jobs: | |
flakes-simple: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: haskell-actions/setup@v2 | |
with: | |
enable-stack: true | |
- uses: actions/cache@v3 | |
name: Cache ~/.stack | |
with: | |
path: ~/.stack | |
key: ${{ runner.os }}-${{ matrix.ghc }}-stack-${{ hashFiles('stack.yaml.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.ghc }}-stack | |
- name: Install libcurl | |
run: sudo apt-get install libcurl4-openssl-dev | |
- name: Test explainable | |
run: stack test |