New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go v1.18 breaks installation procedure in docs #950
Comments
hey @bdshroyer - there are no bigger plans at the moment, no. I don't think I understand why |
I found a little bit more about go install's behavior in the build command flags. Specifically, the When you run
Similarly, if you run Given all this, I'll probably put |
💯 thanks for digging into it @bdshroyer ! |
Hello all,
I upgraded to Go v1.18 over the weekend, and the installation instructions under Getting Started -> Installing Ginkgo no longer work.
The following is the output I receive when attempting to run
go get github.com/onsi/ginkgo/v2/ginkgo
in thegolang:latest
container. I have achieved similar results in a Github Action:This matches the Go dev blog's notes around the deprecation of
go get
as an installer. That said, replacing get with install doesn't work either.The fix I found is to double up the get and install commands like so:
Based on my own efforts, installing GInkgo this way doesn't break Go v1.17, but I didn't test on earlier versions. I've also been unable to replicate a need to explicitly invoke
go get github.com/onsi/gomega/...
.I'm happy to PR the change into the docs, but I didn't know if it was going to be part of a larger update in the works.
The text was updated successfully, but these errors were encountered: