From 057bdad1a623efdbc7c31a2b8590c2bb88fe1f5a Mon Sep 17 00:00:00 2001 From: Bruno Berisso Date: Fri, 11 Oct 2024 17:12:05 +0100 Subject: [PATCH] Update go.mod to use full go version This fixes an issue better described here https://github.com/golang/go/issues/65568 where GOTOOLCHAIN env var gets an invalid value causing the following error when trying to build the project: ``` go: downloading go1.22 (linux/amd64) go: download go1.22: zip: not a valid zip file ``` This fix is suggested in the previously linked issue. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index ed722f1..09b76bb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/solo-io/protoc-gen-openapi -go 1.22 +go 1.22.0 require ( github.com/getkin/kin-openapi v0.80.0