Skip to content

fix go version #34297

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

Closed
wants to merge 1 commit into from
Closed

fix go version #34297

wants to merge 1 commit into from

Conversation

trdthg
Copy link
Contributor

@trdthg trdthg commented Apr 28, 2025

go cmd will download and cache a copy of the Go toolchain, but go1.24 is not a valid version since golang/go#57631.


I am using a fresh installed riscv machine, trying to compile gitea locally. When I try to run the go command, it prompts that the toolchain of version 1.24 not avaliable. After updating go.mod, the download was successful.

$ go
go: downloading go1.24 (linux/riscv64)
go: download fo1.24 for linux/riscv64: toolchain not avaliable

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 28, 2025
go cmd will download and cache a copy of the Go toolchain, but go1.24 is not a valid version since golang/go#57631.
@trdthg trdthg closed this Apr 28, 2025
@github-actions github-actions bot added modifies/translation modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code modifies/cli PR changes something on the CLI, i.e. gitea doctor or gitea admin modifies/docs modifies/migrations modifies/internal modifies/frontend docs-update-needed The document needs to be updated synchronously labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-update-needed The document needs to be updated synchronously lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/cli PR changes something on the CLI, i.e. gitea doctor or gitea admin modifies/dependencies modifies/docs modifies/frontend modifies/go Pull requests that update Go code modifies/internal modifies/migrations modifies/translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants