Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,15 @@ jobs:
git archive origin/main module/services/accounts/proto | tar -x -C "${baseline}"
# Compare the owned module as one Buf image; the vendored option
# closure is a separate module, not a second public API to compare.
# Both sides are built with the same --path filter. The proto
# directory holds two buf modules (the owned API and the vendored
# option closure under vendor/), so an unfiltered baseline yields two
# images against the filtered input's one and buf refuses to compare.
buf build module/services/accounts/proto --path module/services/accounts/proto/saas -o "${baseline}/current.binpb"
buf build "${baseline}/module/services/accounts/proto" \
--path "${baseline}/module/services/accounts/proto/saas" -o "${baseline}/against.binpb"
buf breaking "${baseline}/current.binpb" \
--against "${baseline}/module/services/accounts/proto" \
--against "${baseline}/against.binpb" \
--config module/services/accounts/proto/buf.yaml --exclude-imports
- name: Execute declared generators and reject drift
working-directory: module/tools
Expand Down
Loading