aux-config/.github/workflows/build.yml
kB01 cf6e47eb54
Some checks failed
/ Check NixOS Configuration (push) Failing after 0s
Updated Workflow to use Lix
2024-09-17 20:11:44 +02:00

22 lines
703 B
YAML

on: [push, pull_request, workflow_dispatch]
jobs:
build-HyperC:
runs-on: docker
container:
image: ghcr.io/lix-project/lix:latest
name: "Check NixOS Configuration"
steps:
- name: "Git Clone"
run: |
git clone https://git.kb-one.de/kb01/aux-config
cd aux-config
- name: "Check evaluation"
run: nix flake check --no-build --all-systems --extra-experimental-features nix-command,flakes
- name: "Do linting"
run: nix run nixpkgs#statix -- check . --extra-experimental-features nix-command,flakes
- name: "Check formatting"
run: nix fmt -- --fail-on-change --extra-experimental-features nix-command,flakes