Precompiled dev builds for golang
Using gotip to compile dev versions of go can delay
CI/unit tests for 4+ minutes
as it goes through the whole toolchain compiling process.
This repo compiles go on a daily basis so you can try dev features in an instant:
As of October, the most useful features merged on master are fuzz testing, and of course, Go generics. Note that gotip is made for golang devs, and certainly not ready for production.
💾Installation:
go install github.com/clean8s/gotip-built/gotip@latest
gotip download
Then you can use gotip
as you usually use the go
CLI: gotip get ...
, gotip mod tidy
, ... To configure an IDE, you can always check what the tip GOROOT
is with gotip env
Alternative: You can also manually extract the build from the GitHub Releases and put it in your $PATH and $GOROOT.
🔒 Verifying download hash:
The download
command outputs
the SHA-256 hash of the lz4 artifact (it's calculated on-the-go as blocks get downloaded & uncompressed).
You can check whether it matches the artifact generated by
the GitHub Action - as well as verify the build steps.
🚀 Supported platforms:
- darwin_amd64
- windows_amd64
- linux_amd64
Looking for ARM64 pull requests! The current GH Action is a bit messy since it uses Powershell (win) and Bash (darwin/linux) at the same time, so it should get refactored into a tidier Makefile or a go tool.