actions / setup-go

Set up your GitHub Actions workflow with a specific version of Go
MIT License
1.41k stars 531 forks source link

Fix golang download url to go.dev #469

Open 178inaba opened 7 months ago

178inaba commented 7 months ago

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&amp;include=all">Moved Permanently</a>.

Related issue:

None.

Check list:

Since it's only a change in the URL, it seems that no additions to documentation or testing are necessary.

krylov-krylov commented 7 months ago

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&amp;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.