What version of rules_go are you using?
997520f
When detecting the version of Go, rules_go expects the format to be of the form go version go1.18.3 linux/amd64 in sdk.bzl. It then checks the third word of this output to determine the version.
However, development Go versions will be of the form go version devel go1.18.3 linux/amd64, so the Go version is not correctly determined in this case. I would suggest potentially checking the fourth word for the version instead if the third word is devel.
What version of rules_go are you using?
997520f
When detecting the version of Go, rules_go expects the format to be of the form
go version go1.18.3 linux/amd64insdk.bzl. It then checks the third word of this output to determine the version.However, development Go versions will be of the form
go version devel go1.18.3 linux/amd64, so the Go version is not correctly determined in this case. I would suggest potentially checking the fourth word for the version instead if the third word isdevel.