mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
👷 Add flake validation workflow and update README
This commit is contained in:
parent
b109eda2d0
commit
d6b0351bf7
3 changed files with 60 additions and 3 deletions
30
.github/workflows/validate.yaml
vendored
Normal file
30
.github/workflows/validate.yaml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue