Change git diff logic

This commit is contained in:
Luc Perkins 2024-04-21 13:43:25 -03:00
parent a273ea17a6
commit 38be60545c
No known key found for this signature in database
GPG key ID: 16DB1108FB591835

View file

@ -29,7 +29,7 @@ jobs:
- name: Package - name: Package
run: nix develop --command pnpm run package run: nix develop --command pnpm run package
- run: git status --porcelain=v1 - 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: test-no-nix:
name: "Test: Nix not installed" name: "Test: Nix not installed"