actions / setup-go

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

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

Closed 178inaba closed 6 months ago

178inaba commented 6 months ago

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:

Runner type:

Tools version:

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.

aparnajyothi-y commented 6 months ago

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

matthewrobertson commented 6 months ago

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)

priyagupta108 commented 6 months ago

Hello @178inaba👋, Thank you for your keen observation. I'm pleased to inform you that the Validate setup-go workflow issue has been addressed in our recently merged pull request (#479). Therefore, I will be closing this issue. Your valuable contributions to our community are greatly appreciated. Thanks again:)