Skip to content

Commit

Permalink
Update CI.yaml to add git status clean check
Browse files Browse the repository at this point in the history
  • Loading branch information
liufuyang committed Sep 3, 2024
1 parent 5c5107a commit 36b0aa3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Cinstrument-coverage'
RUSTDOCFLAGS: '-Cinstrument-coverage'
- name: Check git status clean
uses: CatChen/check-git-status-action@v1
with:
fail-if-not-clean: true # optional
push-if-not-clean: false # optional
request-changes-if-not-clean: true # optional
- name: Install grcov
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
- name: Run grcov
Expand Down

0 comments on commit 36b0aa3

Please sign in to comment.