From 69118efeca9a6ae18f6b00f3a366deed6a0c3c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Sat, 4 Jan 2020 23:27:04 +0100 Subject: [PATCH] Create haskell.yml Former-commit-id: 42bd79292311dfae272865f7a2c2c401d8a5e909 Former-commit-id: 8174b5c882a263688a0f94045824e6fd588c1f82 [formerly 8df3723d68da014afd2ea2ec13140f1ca0c27868] [formerly 7b2dd80e9ab2fd51a1f153f90d2f678ac35ad1d6 [formerly 3f645b765fddf0a0e4f231e2e85802301531992f [formerly 3f645b765fddf0a0e4f231e2e85802301531992f [formerly 3f645b765fddf0a0e4f231e2e85802301531992f [formerly 91158dea7707342d244aa0719d5d5dc093fdd467]]]]] Former-commit-id: ff11062c69623741b81652e6dbf2731137282bc4 [formerly 0cc6987567c3e3a9418a0e7bf36dcb998eaefd69] Former-commit-id: e92fc2230e6522b70b5a89d08a2583dd68bb6e39 Former-commit-id: ba4b4981f5c2a408e2846657eda425bcdb04ce5d Former-commit-id: 6d04cc4da81f64be3b663936569a72058744d858 Former-commit-id: 8ca70415021aaad2fd4dba1c84dab07a0d114028 [formerly 809f04b0a182b884a24bf27dabea181667cb457e] Former-commit-id: dfe0083d7033ed098ac2f4cefe6b245991381db1 --- .github/workflows/haskell.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/haskell.yml diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml new file mode 100644 index 0000000..7ff8b1f --- /dev/null +++ b/.github/workflows/haskell.yml @@ -0,0 +1,25 @@ +name: Haskell CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-haskell@v1 + with: + ghc-version: '8.6.5' + cabal-version: '3.0' + - name: Install dependencies + run: | + cabal update + cabal install --only-dependencies --enable-tests + - name: Build + run: | + cabal configure --enable-tests + cabal build + - name: Run tests + run: cabal test