ci: nicer format check workflow
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li 4 months ago ea559909 7410cf45
··· 14 15 - name: "go fmt" 16 command: | 17 - gofmt -l . 0 18
··· 14 15 - name: "go fmt" 16 command: | 17 + unformatted=$(gofmt -l .) 18 + test -z "$unformatted" || (echo "$unformatted" && exit 1) 19