Go must be available to build the language from source. The toolchain for testing is go1.24.x
Besides the install documentation, more details on wiki.
Patch files found in directory are applied on tip.
Expected file format is from command like git format-patch master
GOROOT_BOOTSTRAP is set to go env GOROOT when not set by go_variables.
Usage with bash:
- name: Build Go from source
uses: iwdgo/gotip-build@v0.6.0
id: gotip
with:
go_variables: CGO_ENABLED=0
test_build: true
On Windows, using powershell is identical except for the version tag which is the branch name master-windows.
- name: Build Go from source on Windows
uses: iwdgo/gotip-build@master-windows
id: gotip
with:
go_variables: $CGO_ENABLED = 0
test_build: false