Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: How can I prevent go CLI to check all dependencies before doing actions #26660
What version of Go are you using (
And the doc section on build flags includes listing the commands you asked about (
In addition, #26585 and change https://golang.org/cl/126656 describe a related possible enhancement that is targeted at multiple use cases, including specifying -getmode in CI via an environmental variable. Snippet from the CL:
Is your concern addressed at this point? If so, does it make sense to close this issue?
I've still an issue with the
To be more clear, my project (=module) imports X, Y, Z as external packages, and after running
Do I missed something to do...?
It's like if it doesn't understand being inside the module that it is looking for... That's the same when running
My bad...! Since I was putting my final executable in an alpine image I had to build my project with the
But the flip side is that some unit and coverage tests are not working at all with musl libs so I had to run them inside a "non-alpine" image. That's what I did by putting
I'm sorry for posting this stupid "issue"
Thank you again for your help on the main issue!