[Bug]: Go version mismatch causing make lint to fail #3599
Labels
status: waiting-triage
This issue/PR has not yet been triaged by the team.
type: bug
Issues that need priority attention -- something isn't working
Is there an existing issue for this?
What happened?
Running make lint results in errors due to a Go version mismatch:
compile: version "go1.23.4" does not match go tool version "go1.23.6"
Gaia Version
main
How to reproduce?
Steps to Reproduce:
Run make lint in the project directory.
The command fails due to Go version inconsistencies.
Expected Behavior:
make lint should run successfully without Go version issues.
Possible Causes:
Multiple Go versions installed.
Incorrect GOROOT or GOPATH.
gci command syntax issue.
Suggested Fixes:
Ensure the correct Go version is installed using:
go install golang.org/dl/go1.23.6@latest
go1.23.6 download
Verify and correct GOROOT:
echo $GOROOT
export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH
The text was updated successfully, but these errors were encountered: