mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
enhance nix-shell and add CI
This commit is contained in:
parent
ffaa63af55
commit
c3fa598922
7 changed files with 99 additions and 41 deletions
19
.github/workflows/nix-flake.yml
vendored
Normal file
19
.github/workflows/nix-flake.yml
vendored
Normal 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
|
||||
|
||||
- run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
|
||||
- name: Run Nix Flake Check
|
||||
run: nix flake check
|
||||
|
||||
- name: Check Nix parsing
|
||||
run: nix-shell --command "evalnix"
|
||||
Loading…
Add table
Add a link
Reference in a new issue