Julien Pivotto 04b44459fe LTS: Implement Go version upgrade and switch to GitHub Actions
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>
2023-01-23 10:22:40 +01:00
..
2022-02-16 18:30:10 +01:00

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.