This commit is contained in:
Bernardo Meurer 2020-06-04 22:16:39 -07:00 committed by talyz
parent 27a984a236
commit 256dce3147
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

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

@ -0,0 +1,19 @@
name: CI
on: [push, pull_request]
jobs:
parsing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- name: Check Nix Parsing
run: |
find . -name "*.nix" -exec nix-instantiate --parse --quiet {} >/dev/null +
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- name: Check Nix Formatting
run: |
nixpkgs-fmt --check .