mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
c04d9c446d
Modernize tool [1] basically ensures that the new language features and packages are used across the code. The reason to run it in CI is to ensure that - PR authors use modern code; - our code is modern whether we bump Go version in go.mod. Shove it into go-fix job which already does a similar thing but for 'go-fix' and rename the whole job to modernize. [1]: https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>