From 1f1600a2128b7a0d40443044ebf2ace8830ddf17 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 3 Aug 2024 12:29:52 -0400 Subject: [PATCH] ci: Add statix check Not tested. --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dccb43b6..8f43a449 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,10 @@ jobs: - run: cp ./hosts/laptop/hardware-configuration.nix ./example/hardware-configuration.nix - run: git add . - run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')?shallow=1" + statix: + name: statix check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 + - run: nix run nixpkgs#statix check