ci(go-tests): add "go fix" check to workflow (#22172)
Ilya Mashchenko committed
Apr 9, 2026 at 23:25 UTC
c37a75057d298e0df44d46a765abbc2bcf39e398
1 file changed
+6
.github/workflows/go-tests.yml
+6
@@ -115,6 +115,12 @@ jobs:
115
go fmt ./... | tee modified-files
116
[ "$(wc -l modified-files | cut -f 1 -d ' ')" -eq 0 ] || exit 1
117
working-directory: ${{ matrix.module }}
118
+ - name: Go fix
119
+ if: needs.file-check.outputs.run == 'true'
120
+ run: |
121
+ go fix ./...
122
+ git diff --exit-code
123
+ working-directory: ${{ matrix.module }}
124
- name: Go vet
125
if: needs.file-check.outputs.run == 'true'
126
run: |