We recommend the practices outlined in this documentation when you upgrade Go for use in Grafana development.
Refer to the following PR for an example of how to perform a Go upgrade:
Change at least the following parts of Go and related files:
Then, run go mod tidy
and go work sync
. Also, run make drone
so changes reflect the updates to .star
and drone.yml
files.
- Look in the
.github/workflows
folder for what Go version is being used there in various workflows. - Make sure to create a PR with the corresponding changes in the
grafana/grafana-enterprise
repository.