chore: upgrade Go, golangci-lint and CI deps (#5)

Upgrade main development to use Go 1.23, while still running CI against 1.20 and later.

Also update golangci-lint to v2.
This commit is contained in:
2025-06-11 02:12:26 +01:00
committed by GitHub
parent 6cec7b8627
commit c3408f0cfb
4 changed files with 83 additions and 72 deletions

View File

@@ -45,7 +45,7 @@ endef
$(eval $(call tool,godoc,golang.org/x/tools/cmd/godoc@latest))
$(eval $(call tool,gofumpt,mvdan.cc/gofumpt@latest))
$(eval $(call tool,goimports,golang.org/x/tools/cmd/goimports@latest))
$(eval $(call tool,golangci-lint,github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56))
$(eval $(call tool,golangci-lint,github.com/golangci/golangci-lint/cmd/golangci-lint@v2.1.6))
$(eval $(call tool,gomod,github.com/Helcaraxan/gomod@latest))
.PHONY: tools