From ced4dbeb7b841788294d5e047db82b472ce8d9f8 Mon Sep 17 00:00:00 2001 From: James Martin Date: Mon, 2 Nov 2020 16:00:43 -0800 Subject: [PATCH] Add GitHub workflow. --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f1f858c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout sources + uses: actions/checkout@v2 + + - name: Install latest Haskell Stack + uses: actions/setup-haskell@v1.1 + with: + enable-stack: true + + - name: Build + run: stack build + + - name: Test + run: stack test