github: add checks workflow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-17 18:40:59 +05:30
parent 9cf550e17e
commit b0163912f3
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

20
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on:
push:
branches:
- develop
name: Check nix packages
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Install Nix
uses: cachix/install-nix-action@07da2520eebede906fbeefa9dd0a2b635323909d
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build Nix packages
run: nix-build