go-safeweb icon indicating copy to clipboard operation
go-safeweb copied to clipboard

gofmt GitHub action seems broken

Open kele opened this issue 3 years ago • 1 comments

On this PR: https://github.com/google/go-safeweb/runs/4009332391?check_suite_focus=true

I get:

Run [ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
  [ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
  shell: /bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.17.2/x64
Error: Process completed with exit code 

There is little debugging information here, too. I think this should be changed.

kele avatar Oct 26 '21 12:10 kele

I think it fails because of https://golang.org/doc/go1.17#gofmt, judging by https://goreportcard.com/report/github.com/google/go-safeweb#gofmt.

kele avatar Oct 26 '21 12:10 kele

Fixed by #356

kele avatar Apr 11 '23 07:04 kele