smallstep / cli

🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
https://smallstep.com/cli
Apache License 2.0
3.56k stars 248 forks source link

`make`-ing requires bootstrapping, which globally installs various Go tools #1209

Open marten-seemann opened 2 weeks ago

marten-seemann commented 2 weeks ago

Hello!

Issue details

Running make fails, unless a number of go tools like goimports, govulncheck etc. are installed. It is required to run make bootstrap first, which (globally) installs the latest version of these tools on the machine. This is not ideal either, it shouldn't be necessary to globally install new software. Furthermore, a developer might intentionally have an older version of those tools installed, and shouldn't be required to upgrade / downgrade tooling just to run make here.

I suggest to remove the bootstrap step altogether, and use go run <import path>@<version> instead. PR incoming.

Why is this needed?

More frictionless usage of this repo.