Add Nix build job

This commit is contained in:
Mikhail Klementev 2020-01-05 06:13:56 +00:00
parent 287c6d6043
commit a4138a4b44
No known key found for this signature in database
GPG Key ID: BE44DA8C062D87DC
1 changed files with 12 additions and 0 deletions

View File

@ -14,3 +14,15 @@ jobs:
- name: Build
run: go build
nix-build:
name: nix-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Nix
run: curl https://nixos.org/nix/install | sh
- name: Build
run: sudo make nix # root required for Nix build sandbox