Description of changes: Updates min supported Go version from 1.17 to 1.18 to fix go mod tidy errors. Adds CI support for go1.22.
Also, updates pinned version on tc-redirect-tap cni plugin, since the previous pinned version has a transitive dependency on the now deleted github.com/mitchellh/osext package
Previously:
% go mod tidy
go: error loading go 1.16 module graph: github.com/containernetworking/plugins@v1.4.1 requires
github.com/Microsoft/hcsshim@v0.12.0 requires
github.com/veraison/go-cose@v1.2.0: reading github.com/veraison/go-cose/go.mod at revision v1.2.0: unknown revision v1.2.0
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning
After min version upgrade
% go mod tidy
% echo $?
0
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes: Updates min supported Go version from 1.17 to 1.18 to fix
go mod tidy
errors. Adds CI support for go1.22.Also, updates pinned version on tc-redirect-tap cni plugin, since the previous pinned version has a transitive dependency on the now deleted
github.com/mitchellh/osext
packagePreviously:
After min version upgrade
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.