From 1024b1ae9e4d9d6098815790e596f213d720e583 Mon Sep 17 00:00:00 2001 From: popcnt1 Date: Wed, 27 Nov 2024 23:26:02 +0800 Subject: [PATCH] ci(workflow): reorder check-git-status-action in build test workflow report dirty commit without waiting long test --- .github/workflows/check_build_test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check_build_test.yml b/.github/workflows/check_build_test.yml index 526ef5e87d..3f47c6ae87 100644 --- a/.github/workflows/check_build_test.yml +++ b/.github/workflows/check_build_test.yml @@ -55,6 +55,12 @@ jobs: docker pull bitseed/ord:0.18.0-burn docker pull bitseed/bitseed:0.1.8 + - uses: CatChen/check-git-status-action@v1 + with: + fail-if-not-clean: true # optional + push-if-not-clean: false # optional + targets: '.' #optional + - name: Check code format run: cargo fmt -- --check - name: Lint rust sources @@ -112,8 +118,4 @@ jobs: continue-on-error: true timeout-minutes: 15 - - uses: CatChen/check-git-status-action@v1 - with: - fail-if-not-clean: true # optional - push-if-not-clean: false # optional - targets: '.' #optional +