mirror of
https://git.kb-one.de/kb01/aux-config.git
synced 2025-12-05 18:28:53 +00:00
27 lines
723 B
YAML
27 lines
723 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: |
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
|
apt install -y nodejs
|
|
node --version
|
|
|
|
- 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
|