actions/setup-go

Failure of "Validate 'setup-go'" on macos-latest

178inaba opened this issue · 3 comments

Description:
"Validate 'setup-go'" is failing.
The cause is that the architecture of macos-latest has become arm64.
https://github.com/actions/runner-images

Action version:
v5.0.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

  • 1.8.6
  • 1.9
  • 1.12.16
  • 1.13.11
  • 1.14
  • 1.14.3

Repro steps:
https://github.com/actions/setup-go/actions/runs/8855760631
https://github.com/actions/setup-go/actions/runs/8855760631/job/24321136893#step:3:12

Expected behavior:
The successful "Validate 'setup-go'" workflow.

Actual behavior:
The "Validate 'setup-go'" fails.

Hello @178inaba, Thank you for creating this issue and we will look into it :)

I think the issue is that https://go.dev/dl/?mode=json&include=all doesn't include {"os": "darwin", "arch": "amd64"} for older versions of go (versions <= 15.x.x)