Skip to content

Commit

Permalink
ci(workflow): reorder check-git-status-action in build test workflow
Browse files Browse the repository at this point in the history
report dirty commit without waiting long test
  • Loading branch information
popcnt1 committed Nov 27, 2024
1 parent 0008e54 commit 1024b1a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/check_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 1024b1a

Please sign in to comment.