* Add minimum supported Go version to CI
On top of automatically testing against the two most recent releases (what Go upstream supports), also test explicitly against our lower bound.
As noted in the previous change, don't have a `go.mod` to source this information from, so it's simply hard-coded in this file instead.
(I chose 1.21 as that was the lowest version we were testing against previously, but it's possible that could go lower or actually reasonably needs to go higher.)
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
* Add explicit `GOTOOLCHAIN=local` in CI
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
---------
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
The upside is, we don't have to bump the versions here every 6 months.
The downside is, CI might break once the new Go is out.
Overall I think it is net positive.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This change adds Go v1.21 and v1.22 to the CI matrix and drops Go v1.19
and v1.20 since they will no longer be getting updates.
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This change updates actions/checkout to v4, actions/setup-go to v5, and
golangci/golangci-lint-action to v4 to resolve NodeJS 16 deprecation
warnings in CI.
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
Adds a Go compiler matrix to CI for testing of latest Go versions.
Updates and pins to major version GitHub actions packages.
Signed-off-by: Austin Vazquez <macedonv@amazon.com>