👷 Add flake validation workflow and update README

This commit is contained in:
Jo 2025-05-23 01:09:49 +02:00
parent b109eda2d0
commit d6b0351bf7
3 changed files with 60 additions and 3 deletions

2
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1,2 @@
# Me, myself and I!
* @jokiller230

30
.github/workflows/validate.yaml vendored Normal file
View file

@ -0,0 +1,30 @@
name: "Nix: validate flake"
on:
workflow_dispatch:
push:
paths:
- "**.nix"
- "**.lock"
- ".github/workflows/**.yml"
jobs:
check-flake:
name: Validate x86_64-linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
persist-credentials: false
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
experimental-features = flakes nix-command recursive-nix pipe-operator
- name: Validate Flake
run: nix flake check --option allow-import-from-derivation false