about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <glittershark@users.noreply.github.com>2019-09-25T18·27-0400
committerGitHub <noreply@github.com>2019-09-25T18·27-0400
commit915264acae35e71f79c6193d022baa2455d880d3 (patch)
tree0fae346d54955ac400b0cbb3850ee2394007098c
parentd632a30d057f9a2775c4516570168b195c053879 (diff)
Add Github Actions config
-rw-r--r--.github/workflows/haskell.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
new file mode 100644
index 000000000000..9b6cb1ab84d0
--- /dev/null
+++ b/.github/workflows/haskell.yml
@@ -0,0 +1,19 @@
+name: Haskell CI
+
+on: [push]
+
+jobs:
+  build:
+   
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Install dependencies
+      run: cabal install --only-dependencies --enable-tests
+    - name: Build
+      run: |
+        cabal configure --enable-tests
+        cabal build
+    - name: Run tests
+      run: cabal test