Updated Workflow to use Lix
Some checks failed
/ Check NixOS Configuration (push) Failing after 27s

This commit is contained in:
Kaybee 2024-09-17 19:44:20 +02:00
parent dd8b5d5211
commit d2ad1aa921

View file

@ -4,12 +4,22 @@ jobs:
build-HyperC:
runs-on: docker
container:
image: niteo/nixpkgs-nixos-unstable:9e70e9f732fbb15872cb4ea11bd43c14328a0b69
name: Build NixOS Iso
image: ghcr.io/lix-project/lix:latest
name: "Check NixOS Configuration"
steps:
- name: Update Nix Store
run: |
nix-channel --update
- name: Get System Info
run: |
nix-shell -p fastfetch --run fastfetch
- name: "Use Node.js (Workarround)"
uses: actions/setup-node@v4
with:
node-version: '21.x'
- 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