setup-go
setup-go copied to clipboard
Fix golang download url to go.dev
Description:
golang.org is redirect to go.dev
$ curl -v 'https://golang.org/dl/?mode=json&include=all'
...
< HTTP/2 301
...
< location: https://go.dev/dl/?mode=json&include=all
...
<a href="https://go.dev/dl/?mode=json&include=all">Moved Permanently</a>.
Related issue:
None.
Check list:
- ~[ ] Mark if documentation changes are required.~
- ~[ ] Mark if tests were added or updated to cover the changes.~
Since it's only a change in the URL, it seems that no additions to documentation or testing are necessary.
Description:
golang.org is redirect to go.dev
$ curl -v 'https://golang.org/dl/?mode=json&include=all' ... < HTTP/2 301 ... < location: https://go.dev/dl/?mode=json&include=all ... <a href="https://go.dev/dl/?mode=json&include=all">Moved Permanently</a>.
Related issue:
None.
Check list:
- ~[ ] Mark if documentation changes are required.~
- ~[ ] Mark if tests were added or updated to cover the changes.~
Since it's only a change in the URL, it seems that no additions to documentation or testing are necessary.