Examples on how to use rules_buf
in various scenarios. For more info refer to the official docs.
This demonstrates using this repo with bzlmod.
This demonstrates basic setup and pinning a buf
cli version. This also demonstrates using the buf
cli as a bazel toolchain.
This demonstrates setting up the gazelle
plugin to generate proto_library
, buf_lint_test
, and buf_breaking_test
rules.
This demonstrates setting up lint and breaking tests in a project with a buf.yaml
.
This demonstrates setting up lint and breaking tests in a buf workspace project.