aux-config/.github/workflows/build.yml
kB01 749a6fa458
Some checks failed
/ Check NixOS Configuration (push) Failing after 9s
Updated Workflow to use Lix
2024-09-17 20:05:49 +02:00

23 lines
616 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: "Install Node.JS Workarround, see https://github.com/nektos/act/issues/973"
run: nix-shell -p nodejs
- name: "Checkout"
uses: actions/checkout@v3
- name: "Check evaluation"
run: nix flake check --no-build --all-systems
- name: "Do linting"
run: nix run nixpkgs#statix -- check .
- name: "Check formatting"
run: nix fmt -- --fail-on-change