Skip to content

Bank aliases & command cleanup #27

Bank aliases & command cleanup

Bank aliases & command cleanup #27

Workflow file for this run

name: Haskell CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-haskell@v1
with:
enable-stack: true
stack-setup-ghc: true
stack-version: '2.11.1'
- name: Cache ~/.stack
uses: actions/cache@v3
id: cache-stack
with:
path: ~/.stack
key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
restore-keys: |
${{ runner.os }}-stack-global-
- name: Cache .stack-work
uses: actions/cache@v3
id: cache-stack-work
with:
path: .stack-work
key: ${{ runner.os }}-stack-work-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}-${{ hashFiles('**/*.hs') }}
restore-keys: |
${{ runner.os }}-stack-work-
- name: Run tests
run: stack test