Skip to content

Simplify proto setup #184

Simplify proto setup

Simplify proto setup #184

Workflow file for this run

name: proto
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
run:
name: Proto
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check proto diff
run: go run github.com/bufbuild/buf/cmd/buf generate proto && git diff --exit-code
- name: Buf lint
run: go run github.com/bufbuild/buf/cmd/buf lint proto
- name: Buf breaking
run: go run github.com/bufbuild/buf/cmd/buf breaking proto --against "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=proto"