Until some of that dust settles, it makes sense to add a preflight check to ensure that this repo fails before buildtime if the build environment is wrong.
Add a preflight check such that go is detected in the PATH
Adds a preflight check such that go version mismatches are more explicit
Updates CI to reference go.mod to prevent heartburn and headaches
Closes: https://github.com/grafana/grafana-app-sdk/issues/383
It seems like go has a general issue with forward versioning as seen here: https://github.com/golang/go/discussions/55092 and the
gvm
project does not look to be healthy.Until some of that dust settles, it makes sense to add a preflight check to ensure that this repo fails before buildtime if the build environment is wrong.