kubenix/.github/workflows/ci.yml
2022-04-02 14:41:57 -07:00

21 lines
568 B
YAML

name: CI
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install
extra_nix_config: |
experimental-features = nix-command flakes
allow-import-from-derivation = true
- name: Run Nix Flake Check
run: nix -Lv flake check
- name: Check Nix parsing
run: nix -Lv develop -c "evalnix"