-
Notifications
You must be signed in to change notification settings - Fork 729
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
feat: Add go version check #2095
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we pull the required go version from the SDK version that we are using? :)
Makefile
Outdated
############################################################################### | ||
|
||
check_version: | ||
ifneq ($(GO_MINOR_VERSION),18) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would there be a problem with checking against 1.18
or even >= 1.18
?
Also, would it be possible to make the hardcoded 18
const into a var?
REQUIRE_GO_VERSION = '1.18'
Kudos, SonarCloud Quality Gate passed! |
* Add go version check * Make requested changes (cherry picked from commit c9650f8)
* Add go version check * Make requested changes (cherry picked from commit c9650f8)
This PR addresses concerns raised in #2016 by adding a check in the Makefile to ensure the system is using
1.18
to build Gaia.AC