Skip to content

deps(minor): update bufbuild/buf-setup-action action to v1.24.0 #467

deps(minor): update bufbuild/buf-setup-action action to v1.24.0

deps(minor): update bufbuild/buf-setup-action action to v1.24.0 #467

Workflow file for this run

---
name: protobuf
"on":
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
protobuf:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@v3
- name: Setup buf
id: buf
uses: bufbuild/buf-setup-action@v1.24.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run linting
id: linting
uses: bufbuild/buf-lint-action@v1.0.3
with:
input: proto/
- name: Run breaking
id: breaking
uses: bufbuild/buf-breaking-action@v1.1.2
with:
input: proto/
against: https://github.com/${{ github.repository }}.git#branch=master
- name: Buf publish
id: publish
uses: bufbuild/buf-push-action@v1.1.1
if: github.event_name != 'pull_request'
with:
input: proto/
buf_token: ${{ secrets.BUF_TOKEN }}
...