golang: Add go version 1.20
We should upgrade to Go 1.20, because Go 1.18 is already no longer supported. ("Each major Go release is supported until there are two newer major releases" [1]). Go 1.20 is the incremental improvement for earlier go 1.19 release. We skip Go 1.19, because it's also unsupported as soon as Go 1.21 is released (this is expected to happen in one month [2]). Please find all details in the official release note: https://go.dev/doc/go1.20 It was released on 2023-02-01 [1]. Due to the go promise of compatibility most software should still compile without any problems. We need to differentiate between go before 1.19 and go after 1.19, because go before 1.19 needs TestSCMCredentials patch, while starting from go 1.19 this patch has been applied upstream [3]. [1] https://go.dev/doc/devel/release [2] https://tip.golang.org/doc/go1.21 [3] https://github.com/golang/go/commit/f839aaa22b66bc556fac72f7396082212d2ef45d /reviewed-by @kirr /reviewed-on !1417
Showing
Please register or sign in to comment