microsoft / go

The Microsoft build of the Go toolset
BSD 3-Clause "New" or "Revised" License
269 stars 26 forks source link

Bump go directive to go1.21 #1205

Closed qmuntal closed 5 months ago

qmuntal commented 5 months ago

go.mod files owned by us are still using an old go version directive, go1.16. This precludes some dependency graph pruning optimizations implemented in go1.17. This may lead to overreporting vulnerabilities in the component governance scan (see this warning) and also to bloated go.sum files.

This PR bumps the go version directive to go1.21.