From 38be60545c5d9c1b5ad578b363b5a3ff5e00e47f Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Sun, 21 Apr 2024 13:43:25 -0300 Subject: [PATCH] Change git diff logic --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85a4e78..c27e066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Package run: nix develop --command pnpm run package - run: git status --porcelain=v1 - - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 + - run: git diff --exit-code test-no-nix: name: "Test: Nix not installed"