1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 09:45:57 +01:00

11 Commits

Author SHA1 Message Date
Tianon Gravi
a257bebddf 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>
2025-10-26 06:31:28 +09:00
Kir Kolyshkin
75d79eeac5 ci: use oldstable and stable Go versions
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>
2025-10-21 16:43:14 -07:00
Kir Kolyshkin
d7de8c08f3 ci: bump golangci-lint to v2.5
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-10-14 16:34:29 -07:00
Kijima Daigo
c6af12432a ci: remove redundunt actions
Signed-off-by: Kijima Daigo <norimaking777@gmail.com>
2024-06-11 22:45:33 +09:00
Tianon Gravi
cb7ae92f1f Merge pull request #1245 from austinvazquez/update-go-in-ci
Add Go v1.21 and v1.22 to GitHub Actions CI matrix
2024-02-15 08:27:53 -08:00
Austin Vazquez
12b653d6ee Update golangci-lint to v1.56.1 in CI
This change updates golangci-lint version to v1.56.1 which has Go v1.22
support.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-02-11 20:06:02 +00:00
Austin Vazquez
8547911370 Add Go v1.21 and v1.22 to GitHub Actions CI matrix
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>
2024-02-11 20:03:02 +00:00
Austin Vazquez
1a729afa4d Update GitHub Actions packages to resolve warnings in CI
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>
2024-02-11 19:43:36 +00:00
Austin Vazquez
167ffb42e3 Add Go 1.20 support to CI
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>
2023-03-16 18:12:37 +00:00
Austin Vazquez
15d2a5a2ed Switch Go linting to use golangci-lint
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2023-03-16 18:07:48 +00:00
Josh Dolitsky
0608c1f5b8 Switch to GitHub Actions, CODEOWNERS, etc.
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2021-10-29 17:53:56 -04:00