diff options
author | Griffin Smith <root@gws.fyi> | 2019-09-29T15·10-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-09-29T15·14-0400 |
commit | 272ff5b3e606cd95aedaa4889ff38906c0e0bf03 (patch) | |
tree | 4f253f4c795240843397d3f9b2830189a053aed5 /.github/workflows/haskell.yml | |
parent | 05da490185e970b2cfdf6c61f69932fa373993f6 (diff) |
Use nix-build in github-actions
Diffstat (limited to '.github/workflows/haskell.yml')
-rw-r--r-- | .github/workflows/haskell.yml | 14 |
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 |