Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gobash.yml: build fails for go1.15 and macos-latest #2712

Closed
bassosimone opened this issue Apr 23, 2024 · 0 comments · Fixed by ooni/probe-cli#1561
Closed

gobash.yml: build fails for go1.15 and macos-latest #2712

bassosimone opened this issue Apr 23, 2024 · 0 comments · Fixed by ooni/probe-cli#1561

Comments

@bassosimone
Copy link
Member

The reason why this happens is that macOS latest is now darwin/arm64 and there's no go1.15 for that GOOS/GOARCH.

Here's an excerpt from the build logs:

Run actions/setup-go@v4
Setup go version spec 1.15
Attempting to download 1.15...
matching 1.15...
Not found in manifest.  Falling back to download directly from Go
Error: Unable to find Go version '1.15' for platform darwin and architecture arm64.

The most immediate fix seems to drop macos-latest from the build. Our intent with gobash.yml is just to make sure we can build starting from old versions of Go, and the OS we are using does not actually matter much. Also, by dropping darwin builds, we also have less builds per pull request, which seems good in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant