From 8884a87adf0b617c1752b2dce166fb492a0964ec Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 8 Apr 2024 21:18:03 -0400 Subject: [PATCH] Make CI clean working tree checks simpler and more robust --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ffc9ec3e4d..ab9a3a62112 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,14 +205,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check that working tree is initially clean - run: | - git status - set -x - git status | grep -qF 'nothing to commit, working tree clean' + run: git status; set -x; git diff --quiet - name: Regenerate gix-packetline-blocking/src run: etc/copy-packetline.sh - name: Check that gix-packetline-blocking/src was already up to date - run: | - git status - set -x - git status | grep -qF 'nothing to commit, working tree clean' + run: git status; set -x; git diff --quiet