Skip to content

Commit aaeb9dd

Browse files
authored
Enable buf-breaking check (temporalio#7892)
1 parent 391889e commit aaeb9dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ bins: temporal-server temporal-cassandra-tool temporal-sql-tool tdbg
88
# Install all tools, recompile proto files, run all possible checks and tests (long but comprehensive).
99
all: clean proto bins check test
1010

11-
# Used in CI
11+
# Used in CI.
1212
ci-build-misc: \
1313
print-go-version \
1414
clean-tools \
1515
proto \
1616
go-generate \
17+
buf-breaking \
1718
shell-check \
1819
goimports \
1920
gomodtidy \
@@ -368,6 +369,7 @@ lint-protos: $(BUF) $(INTERNAL_BINPB)
368369
@printf $(COLOR) "Linting proto definitions..."
369370
@$(BUF) lint $(INTERNAL_BINPB)
370371

372+
# Edit proto/internal/buf.yaml to exclude specific files from this check.
371373
buf-breaking: $(BUF) $(API_BINPB) $(INTERNAL_BINPB)
372374
@printf $(COLOR) "Run buf breaking proto changes check..."
373375
@env BUF=$(BUF) API_BINPB=$(API_BINPB) INTERNAL_BINPB=$(INTERNAL_BINPB) MAIN_BRANCH=$(MAIN_BRANCH) \

0 commit comments

Comments
 (0)