mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-17 18:46:48 +02:00
This commit upgrades the underlying Go version from 1.18 to 1.19 in order to align with the Prometheus main branch and ensure that the Long-Term Support (LTS) release remains under a supported version of Go. The upgrade also requires changes to the build process for Windows. Additionally, this commit switches the CI/CD pipeline from CircleCI to GitHub Actions for better integration and alignment with the Prometheus main branch. This commit also runs go fmt on the entire codebase using Go 1.19. This is following an email sent to the prometheus-developers mailing list in december. Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
The compiled protobufs are version controlled and you won't normally need to re-compile them when building Prometheus.
If however you have modified the defs and do need to re-compile, run
make proto from the parent dir.
In order for the script to run, you'll need protoc (version 3.12.3) in your
PATH.