Open matthchr opened 3 months ago
Hi, I'm having this problem also, and I'm unable to consume go 1.22.
Is there any workaround? Is there any schedule for correcting the GoTool step?
I have the same issue, will this be fixed?
I'm having a similar issue but I'm wondering if for the fix here, the download URL could be configurable either as an input or overridden with an environment variable. In my case I have an artifactory instance acting as a proxying cache for requests to https://storage.googleapis.com/golang/%s
. Also, is it possible to support wildcarded versions (1.22.*) similar to some of the dotnet tasks? I frequently re-bake runner images and the way that installer works is to grab the highest patch version
https://github.com/actions/runner-images/blob/584c7c0fef943495221b46033addefb6419ecb0f/images/ubuntu/toolsets/toolset-2204.json#L46C1-L48C25
I'm stumbling over the same problem, any plan to fix or workaround?
Adding the patch version (1.22.3) to the version variable does work, if that helps anyone.
New issue checklist
Task name
GoTool
Task version
0
Issue Description
GoTool tries to download all Golang releases from a path like:
https://storage.googleapis.com/golang/go1.22.linux-amd64.tar.gz
, but after Go 1.20 there are no longer published binaries at this path. Instead the URLhttps://golang.org/dl/
should be used, as you can see on the official Golang site: https://go.dev/dl/Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu latest
Relevant log output
Full task logs with system.debug enabled
Repro steps