mirror of
https://github.com/opencontainers/runtime-spec.git
synced 2026-02-05 18:45:18 +01:00
Add minimum supported Go version to CI (#1303)
* 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>
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -14,7 +14,12 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
go: [oldstable, stable]
|
||||
# our oldest (officially) supported version and the two upstream-supported versions
|
||||
go: [1.21.x, oldstable, stable]
|
||||
|
||||
env:
|
||||
# avoid downloading any alternate toolchains (https://go.dev/doc/toolchain)
|
||||
GOTOOLCHAIN: local
|
||||
|
||||
steps:
|
||||
- name: checkout source code
|
||||
|
||||
Reference in New Issue
Block a user