Re: [go-nuts] 1.19.2: gofmt fails on CI but not locally

2022-10-27 Thread Kurtis Rader
Your CI environment is running go generate ./... and the column number reported by gofmt doesn't make any sense for the file you linked to. So the obvious conclusion is that either the blob you linked to is out of date and you'll see the problem locally if you run go generate ./... first, or genera

[go-nuts] 1.19.2: gofmt fails on CI but not locally

2022-10-27 Thread cpu...@gmail.com
Really strange issue, have been scratching my head for hours now. Consider https://github.com/evcc-io/evcc/blob/0b8105d36d245a2169961c48e50fbb830fd38147/charger/ocpp_decorators.go. Absolutely fine imho. Yet gofmt fails, but only on CI: https://github.com/evcc-io/evcc/actions/runs/3340736849/jo