-
Notifications
You must be signed in to change notification settings - Fork 344
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
golang: add note about automatic toolchain switching #4318
golang: add note about automatic toolchain switching #4318
Conversation
@danmilon regarding how to suggest that users should keep their golang version up to date in the yaml. We can use a note block to ensure it catches users attention. Something like: {{< note >}} It is important to keep your chosen version of golang updated in your yaml configuration file. This will ensure that you are using the most up to date software for your projects. {{< /note >}} |
c5cf736
to
36bce69
Compare
36bce69
to
922c7cd
Compare
I don't understand what's wrong with CI. |
sorry about the typo. I see you fixed it already, thank you! |
Why
Because in golang, there is a loose coupling between the version specified by the user, and the version that can be used. Essentially it will download any toolchain version automatically.
But users should still be encouraged to keep the selected version updated, in order to have more up to date software.
See also internal ticket: https://linear.app/platformsh/issue/IMG-1785
What's changed
Added a section in both psh and upsun golang docs about this.
What I'm not sure about is how to word the suggestion to keep the golang version in the yaml configuration files up to date.
Where are changes
Updates are for:
sites/platform
templates)sites/upsun
templates)