mirror of
https://github.com/nix-community/impermanence
synced 2024-11-10 05:44:17 +00:00
ci: init
This commit is contained in:
parent
27a984a236
commit
256dce3147
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal 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 .
|
Loading…
Reference in a new issue