From a6b145188a43defb3ebce8a347780f7d8c7a191a Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 8 Apr 2024 22:06:21 -0400 Subject: [PATCH] Show full diffs on CI So when gix-packetline-blocking/src was not updated, the diff from running the script is shown in full. Right now this is to investigate how the script does not seem to work on macOS, but it may be useful to keep it. --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab9a3a62112..aaa9135b823 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,8 +205,14 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check that working tree is initially clean - run: git status; set -x; git diff --quiet + run: | + set -x + git status + git diff --exit-code - 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 diff --quiet + run: | + set -x + git status + git diff --exit-code