From 0489f60d5660eb485a146d0aea6c8493dab729fe Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Fri, 11 Nov 2022 12:36:41 +0100 Subject: [PATCH] ci: add buf.build github actions workflow --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..46738f2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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"