1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-10-23 20:09:01 +03:00

1 Commits

Author SHA1 Message Date
Kir Kolyshkin
222496072a Add go.mod
Since there is no go.mod, CI has to create one on the fly (using
"go mod init" and "go get"). In addition, "make docs" no longer works
with Go 1.23+, since "go run ./.tool/version-doc.go" requires a module.

Add go.mod (with no dependencies, and the go directive set to the
minimal Go version we support and test with), and remove the go.mod
creation from CI.

Since schema/validate is now a separate module, run golangci-lint
for it separately. To avoid using golangci-lint-action twice, bump it
to v9 and use its install-only mode, running golangci-lint directly.

Fixes #1280.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-10-13 08:56:58 -07:00