Error: invalid version string #537
Unanswered
lukasmalkmus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got the following error when setting up fresh CI for a project:
I think it comes from a change I initially implemented with a PR a while ago, if I'm not mistaken: Getting the version from the
go.mod
. This is helpful if atools.go
file is used to tagged and track tool-only dependencies.Now, with Go 1.17, even when not using a
tools.go
file,golangci-lint
might still show up in thego.mod
file, but with the// indirect
suffix.Easy fix seems to be to ignore lines with that suffix.
Beta Was this translation helpful? Give feedback.
All reactions