Skip to content

Dependabot Support for Go 1.21 #65431

Discussion options

You must be logged in to vote

this is as expected: go 1.21 was a development version of the language, for which there is no downloadable release (because it is not a specific version). The release version would be go 1.21.0.

In general if you want to specify a development version in the go line, you must also give a concrete toolchain version. So modifying your go.mod in either of these should work:

go 1.21.0
go 1.21
toolchain go1.21.0

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxmoehl
Comment options

Answer selected by maxmoehl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependabot Code Security Build security into your GitHub workflow with features to keep your codebase secure Question
2 participants