We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93894f commit b64133dCopy full SHA for b64133d
buf-format/action.yaml
@@ -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