Skip to content

Commit

Permalink
ci: verify that code generation works and results match
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Kervinen <[email protected]>
  • Loading branch information
askervin committed Sep 27, 2024
1 parent 668be88 commit 252bf67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- run: |
sudo make install-protoc
make install-protoc-dependencies install-ttrpc-plugin
touch pkg/api/api.proto
make all
test -z "$(git status --short | tee /dev/stderr)" || {
echo "Repository is in invalid state."
echo "Please make sure to commit all changes, including generated files."
exit 1
}
linters:
name: Linters
Expand Down

0 comments on commit 252bf67

Please sign in to comment.