This repository contains the Protobuf definitions for the exileapi project.
These definitions are managed using Buf. They are automatically linted, checked for breaking changes, and pushed to the Buf Schema Registry (BSR) via GitHub Actions.
The module name is buf.build/tcn/exileapi
.
You can depend on these Protobuf definitions in your own projects using Buf. Add the following dependency to your buf.yaml
file:
version: v2
deps:
- buf.build/tcn/exileapi
Then, run buf mod update
to fetch the dependency.
To lint the definitions locally:
buf lint
To check for breaking changes against the master
branch on the BSR:
buf breaking --against buf.build/tcn/exileapi:master
A GitHub Actions workflow (.github/workflows/buf-push.yaml
) is configured to automatically:
- Lint & Check Breaking Changes: On pushes to the
master
branch. - Push to BSR: On pushes to the
master
branch and when tags matchingv*
are created.
This ensures that the definitions in the BSR are always up-to-date with the master
branch and tagged releases.
[Add contribution guidelines here if applicable]