Skip to content

Commit c4ebff8

Browse files
committed
Run gofmt on BuildKite
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 050c2b0 commit c4ebff8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ steps:
3333
# multiple go builds are downloading to the same cache.
3434
- wait
3535

36+
- label: gofmt -s
37+
command: test -z $(gofmt -s -l .)
38+
3639
- label: 'git log validation'
3740
command: './.buildkite/logcheck.sh'
3841

0 commit comments

Comments
 (0)