enhance github workflow

This commit is contained in:
David Arnold 2021-05-13 17:34:13 -04:00
parent db6d83c61e
commit d1ad09a897
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08

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

@ -0,0 +1,19 @@
name: CI
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210429_d15a196/install
extra_nix_config: experimental-features = nix-command flakes
- name: Run Nix Flake Check
run: nix -Lv flake check
- name: Check Nix parsing
run: nix -Lv develop -c "evalnix"