Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 579 Bytes

File metadata and controls

22 lines (15 loc) · 579 Bytes

Single buf.yaml

The example uses lint and breaking rules with a single module buf.yaml.

  • The buf.yaml is exported in BUILD
  • foo/v1 contains lint rule that succeeds, it can be exeucted using
bazel test //foo/v1:foo_proto_lint
  • bar/v1 contains lint rule that fails, it can be exeucted using
bazel test //bar/v1:bar_proto_lint
  • Build file contains a breaking change detection rule that succeeds, it can be executed using,
bazel test //:fooapis_proto_breaking