Skip to content

Commit

Permalink
update check-breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
will-isovalent committed Feb 11, 2025
1 parent 62dd118 commit 6910d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ __format_local:

.PHONY: __check-breaking_local
__check-breaking_local:
$(BUF) breaking --against "$(CURDIR)/../.git#branch=$(BUF_BREAKING_AGAINST_BRANCH)"
$(BUF) breaking /src/api --against "$(CURDIR)/../.git#branch=$(BUF_BREAKING_AGAINST_BRANCH),subdir=api/v1" --limit-to-input-files --exclude-imports

.PHONY: proto lint format check-breaking
all proto lint format check-breaking:
Expand Down
1 change: 1 addition & 0 deletions api/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ lint:
breaking:
use:
- FILE
- WIRE_JSON
# Ignores packages with a last component that's one of the unstable forms
# (e.g. foo.bar.v1alpha foo.bar.v1beta)
ignore_unstable_packages: true

0 comments on commit 6910d79

Please sign in to comment.