Skip to content

chore: updated buf version #45

chore: updated buf version

chore: updated buf version #45

Workflow file for this run

name: "PR checks"
on:
pull_request:
permissions:
contents: read
env:
GO_VERSION: 1.19.3
jobs:
# lint-protos:
# runs-on: ubuntu-latest
#steps:
# Install the `buf` CLI
# - uses: bufbuild/buf-setup-action@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Checkout repository
# uses: actions/checkout@v3
# Lint your Protobuf sources
#- uses: bufbuild/buf-lint-action@v1
# with:
# input: protobuf
buf-format:
runs-on: ubuntu-latest
steps:
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
- name: Buf format check
run: buf format -d --exit-code
buf-breaking-changes:
runs-on: ubuntu-latest
steps:
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
# Run breaking change detection against the last commit
- uses: bufbuild/buf-breaking-action@v1
with:
input: protobuf
against: "https://github.com/k8sgpt-ai/schemas.git#branch=main,ref=HEAD~1,subdir=protobuf"