Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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