Skip to content

[Bug]: Go version mismatch causing make lint to fail #3599

@MKVEERENDRA

Description

@MKVEERENDRA

Is there an existing issue for this?

  • I have searched the existing issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: waiting-triageThis issue/PR has not yet been triaged by the team.type: bugIssues that need priority attention -- something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions