From 5de5d5d72a9021125272977a6ca2ab865043bf67 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 18 Aug 2026 12:19:09 +0800 Subject: chore: show diff on git-unlock in CI Pass `--show-diff` to `git-unlock` and restructure CI steps as (command, args) pairs to support per-step arguments. The diff prints tracked workspace changes before they are discarded. --- .github/workflows/ci-check-only.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci-check-only.yml b/.github/workflows/ci-check-only.yml index dc97c81..548026d 100644 --- a/.github/workflows/ci-check-only.yml +++ b/.github/workflows/ci-check-only.yml @@ -61,7 +61,7 @@ jobs: - name: Unlock workspace (idempotency check) if: always() - run: cargo ci git-unlock + run: cargo ci git-unlock --show-diff - name: Fail when the check failed if: steps.check.outcome == 'failure' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4892c3..56667d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: - name: Unlock workspace (idempotency check) if: always() - run: cargo ci git-unlock + run: cargo ci git-unlock --show-diff - name: Fail when the check failed if: steps.check.outcome == 'failure' -- cgit