We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93894f commit 6c7947fCopy full SHA for 6c7947f
buf-format/action.yaml
@@ -0,0 +1,23 @@
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"
20
+ - name: "Verify Buf Format"
21
+ uses: "chainguard-dev/actions/nodiff@main"
22
23
+ fixup-command: "buf format"
0 commit comments