Skip to content

Make gofmt check fail if there are any matching files

Stan Hu requested to merge sh-fix-gofmt into main

gofmt doesn't return an exit code 1 if there are matching files: https://github.com/golang/go/issues/24230

To fix this, use the same trick we use in Workhorse to parse output. Also add a make fmt step to format all the code properly.

Merge request reports