Skip to content

Commit

Permalink
ci: proto up-to-date check
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteregrets committed Dec 13, 2024
1 parent 2c78da9 commit c71316c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ jobs:
with:
crate: cargo-sort
version: "^1.0"
- name: check proto build up-to-date
run: |
cargo build --features prost-build
if git diff proto/; then
git diff --exit-code src/api.rs && echo "proto/ and src/api.rs are up-to-date" || {
echo "src/api.rs is not up-to-date"
exit 1
}
else
git diff --exit-code src/api.rs
fi
- name: check documentation
env:
RUSTDOCFLAGS: -D warnings
Expand Down

0 comments on commit c71316c

Please sign in to comment.