1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-22 21:20:52 +02:00

chore: ci: add workflow for checking nix flake

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-08-14 18:08:13 +02:00
parent 338fc9a16f
commit 75ff5fdb14
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7

View file

@ -0,0 +1,26 @@
---
name: nix-flake
on:
push:
branches:
- main
pull_request:
paths:
- '**/*.nix'
env:
NIX_CONFIG: 'experimental-features = nix-command flakes'
jobs:
test:
runs-on: nixos-unstable
steps:
- name: prepare nix container
run: nix-env -iA nixpkgs.nodejs
- name: checkout repository
uses: actions/checkout@v4
- name: flake check
run: nix flake check -L