Skip to content

Commit

Permalink
buf-format: init
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Jul 31, 2023
1 parent a93894f commit b64133d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions buf-format/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "Buf - Format"
description: |
This actions runs `buf format` in the working tree and then verifies that
there are no differences from running the tool.
inputs:
version:
description: "Buf version used to generate"
default: "1.18.0"
required: false
runs:
using: "composite"
steps:
- uses: "bufbuild/buf-setup-action@v1"
with:
version: "${{ inputs.version }}"
- name: "Format Protos"
shell: "bash"
run: "buf format --exit-code"

0 comments on commit b64133d

Please sign in to comment.