ci: add buf.build github actions workflow

This commit is contained in:
Lorenzo Delgado 2022-11-11 12:36:41 +01:00 committed by GitHub
parent b494f1acb4
commit 0489f60d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: ci
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
# The 'main' branch of the GitHub repository that defines the module.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"