Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 committed Mar 22, 2024
1 parent 58a126b commit 2ea2ccd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/generatedcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
- name: Run Gazelle
run: bazel run //:gazelle
- name: Check Diff
run: test -z "$(git status --porcelain)"
run: |
if test -n "$(git status --porcelain)"; then
git diff HEAD
exit 1
fi
protos:
runs-on: ubuntu-latest
steps:
Expand All @@ -44,4 +48,8 @@ jobs:
- name: Generate Protos
run: tools/genproto.sh
- name: Check Diff
run: test -z "$(git status --porcelain)"
run: |
if test -n "$(git status --porcelain)"; then
git diff HEAD
exit 1
fi

0 comments on commit 2ea2ccd

Please sign in to comment.