test: stop running gofmt ./

gofmt ./ will recursively check the .git directory. So use *.go for
gofmt instead
Merge pull request #1137 from philips/gofmt-hack

test: stop running gofmt ./