about summary refs log tree commit diff
path: root/.github/workflows/haskell.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/haskell.yml')
-rw-r--r--.github/workflows/haskell.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index 9b6cb1ab84d0..e1a57d44005e 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -4,16 +4,12 @@ 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
+    - name: Nix Build
+      with:
+        args: default.nix
+      uses: ./.github/actions/nix-build