Files
tasks/proto/internal/buf.yaml
David ReissandGitHub 7f01c238c1 Check for breaking proto changes (#6114)
## What changed?
- Add (back) make target buf-breaking to run buf's breaking proto
changes check against the parent commit and the main branch.
- Add buf-breaking to ci-build-misc so it runs in CI.
- Fix goimports target to use shell variables instead of git variables
to make make faster, and also fix the binary name (was just broken).
- GitHub Actions: run tests on PR head, not merge.

## Why?
Detecting breaking proto changes early avoids bugs.

## How did you test it?
Manual testing with deliberate breaking changes.
2024-07-10 16:44:07 -07:00

21 lines
502 B
YAML

# Generated by "buf config migrate-v1beta1". Edit as necessary, and
# remove this comment when you're finished.
#
# This module represents the "internal" root found in
# the previous configuration.
version: v1
deps:
- buf.build/googleapis/googleapis
breaking:
use:
- WIRE
# Uncomment this to temporarily ignore specific files or directories:
#ignore:
# - temporal/server/api/...
lint:
use:
- DEFAULT
except:
- PACKAGE_SAME_JAVA_MULTIPLE_FILES
- PACKAGE_SAME_JAVA_PACKAGE