We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f2e910 commit ab31c21Copy full SHA for ab31c21
.github/workflows/check-protobuf-task.yml
@@ -79,3 +79,22 @@ jobs:
79
80
- name: Lint protocol buffers
81
run: task protoc:check
82
+
83
+ check-formatting:
84
+ runs-on: ubuntu-latest
85
86
+ steps:
87
+ - name: Checkout repository
88
+ uses: actions/checkout@v2
89
90
+ - name: Install Task
91
+ uses: arduino/setup-task@v1
92
+ with:
93
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
94
+ version: 3.x
95
96
+ - name: Format protocol buffers
97
+ run: task protoc:format
98
99
+ - name: Check formatting
100
+ run: git diff --color --exit-code
0 commit comments