Adding haskell.nix based default and shell.nix (#141)

Co-authored-by: Ben Ford <ben@perurbis.com>
This commit is contained in:
Ben Ford 2020-09-02 02:47:04 +01:00 committed by GitHub
commit f6f388c8da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 121 additions and 7 deletions

18
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: "Nix CI"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.1
- uses: cachix/install-nix-action@v10
with:
skip_adding_nixpkgs_channel: true
- uses: cachix/cachix-action@v6
with:
name: cdodev
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: cachix use iohk && cachix use cdodev
- run: nix-build