Switch to Go 1.23 and fix CI failures

Some new upcoming changes require us to use Go 1.23. However, if we switch to Go 1.23 some
new linter errors are showing up. This commit fixes most of the errors and adds an
exclusion for integer overflow errors.

Signed-off-by: Amit <ambarve@microsoft.com>
This commit is contained in:
Amit
2025-10-27 09:08:22 -07:00
committed by Amit Barve
parent bdc6c11280
commit fd34511314
52 changed files with 41 additions and 82 deletions
+9 -4
View File
@@ -1,11 +1,16 @@
module github.com/Microsoft/go-winio
go 1.21
go 1.23.0
toolchain go1.23.8
require (
github.com/sirupsen/logrus v1.9.3
golang.org/x/sys v0.10.0
golang.org/x/tools v0.11.0
golang.org/x/sys v0.35.0
golang.org/x/tools v0.36.0
)
require golang.org/x/mod v0.12.0 // indirect
require (
golang.org/x/mod v0.27.0 // indirect
golang.org/x/sync v0.16.0 // indirect
)