Skip to content

Commit b64133d

Browse files
committed
buf-format: init
1 parent a93894f commit b64133d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

buf-format/action.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "Buf - Format"
3+
description: |
4+
This actions runs `buf format` in the working tree and then verifies that
5+
there are no differences from running the tool.
6+
inputs:
7+
version:
8+
description: "Buf version used to generate"
9+
default: "1.18.0"
10+
required: false
11+
runs:
12+
using: "composite"
13+
steps:
14+
- uses: "bufbuild/buf-setup-action@v1"
15+
with:
16+
version: "${{ inputs.version }}"
17+
- name: "Format Protos"
18+
shell: "bash"
19+
run: "buf format --exit-code"

0 commit comments

Comments
 (0)