Closed barrettj12 closed 2 years ago
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Another peculiarity is that I can only reproduce this on the GitHub Actions runners, not on my local machine.
This is because of a change in Go 1.19 how gofmt
format comments: https://go.dev/doc/comment
You're running Go 1.18 locally but GitHub Actions is running Go 1.19. The issue is reproducible with Go 1.19 locally as well.
Dupliacte of #3069
Closing in favour of https://github.com/golangci/golangci-lint-action/issues/535
Welcome
Description of the problem
I'm running golangci-lint on this file and it's outputting the error:
However, when I run gofmt on it, there is no issue:
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository