Skip to content

Commit

Permalink
#27 add additional diff logging on failures (#41)
Browse files Browse the repository at this point in the history
* #27 add shared gofmt workflow

* #27 cleanup linting, add pass indicator

* #27 add additional diff logging on failures
  • Loading branch information
kernelsam authored Jul 11, 2023
1 parent 5843f7f commit b48769a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gofmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
if [ -n "${gofmt_out}" ]; then
echo "[ERROR] Files failing gofmt: "
echo "${gofmt_out}"
echo "[ERROR_INFO] See below for gofmt stdout diff."
gofmt -s -l -d .
exit 1;
else
echo "[INFO] gofmt check passed."
Expand Down

0 comments on commit b48769a

Please sign in to comment.