Skip to content

Commit

Permalink
Check for git diff after build
Browse files Browse the repository at this point in the history
This allows to detect possible required changes to Cargo.lock, for
example when bumping the crate version.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
  • Loading branch information
saschagrunert committed Sep 5, 2023
1 parent 38d8e61 commit 5684345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
default: true
override: true
components: rustfmt
- run: cargo build
- run: cargo build && git diff --exit-code

dependencies:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5684345

Please sign in to comment.