containerd / nri

Node Resource Interface
Apache License 2.0
257 stars 65 forks source link

Add Go 1.20 support to CI #30

Closed austinvazquez closed 1 year ago

austinvazquez commented 1 year ago

Update minimum Go version to Go 1.19 in go.mod. Update golangci-lint to v1.51.x for Go 1.20 support.

Signed-off-by: Austin Vazquez macedonv@amazon.com

codecov-commenter commented 1 year ago

Codecov Report

Base: 63.83% // Head: 64.00% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (ccf80f2) compared to base (19ab5f5). Patch has no changes to coverable lines.

:exclamation: Current head ccf80f2 differs from pull request most recent head e7e9e49. Consider uploading reports for the commit e7e9e49 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #30 +/- ## ========================================== + Coverage 63.83% 64.00% +0.16% ========================================== Files 9 9 Lines 1800 1800 ========================================== + Hits 1149 1152 +3 + Misses 500 497 -3 Partials 151 151 ``` | [Impacted Files](https://codecov.io/gh/containerd/nri/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) | Coverage Δ | | |---|---|---| | [pkg/net/multiplex/mux.go](https://codecov.io/gh/containerd/nri/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL25ldC9tdWx0aXBsZXgvbXV4Lmdv) | `69.07% <0.00%> (+1.54%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

austinvazquez commented 1 year ago

Minor update to use env for setting go version so only have to update in one place.