From e3216ca64d0c2ec78c6e3811f753be06cf0288ac Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Apr 2024 19:56:36 +0200 Subject: [PATCH] go.mod: use SemVer format for go version to assist CodeQL AutoBuild CodeQL AutoBuild started to produce errors if the `go.mod` does not use SemVer for the go version; https://github.com/github/codeql/blob/3a2b0a2feba58c05706c88b5589cacf6094f7f9d/go/extractor/diagnostics/diagnostics.go#L512-L525 Let's give it one. Signed-off-by: Sebastiaan van Stijn --- vendor.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor.mod b/vendor.mod index b78aaa1a57..26a4355b5a 100644 --- a/vendor.mod +++ b/vendor.mod @@ -4,7 +4,7 @@ module github.com/docker/cli // There is no 'go.mod' file, as that would imply opting in for all the rules // around SemVer, which this repo cannot abide by as it uses CalVer. -go 1.21 +go 1.21.0 require ( dario.cat/mergo v1.0.0