From e660b852c05d681c021255a846d10098ff18dc11 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Thu, 22 Aug 2024 16:56:10 +0100 Subject: [PATCH] Update max supported Go version to 1.23 --- docs/codeql/reusables/supported-versions-compilers.rst | 2 +- go/extractor/autobuilder/build-environment.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codeql/reusables/supported-versions-compilers.rst b/docs/codeql/reusables/supported-versions-compilers.rst index b78fb9013050..2eaadaf3006a 100644 --- a/docs/codeql/reusables/supported-versions-compilers.rst +++ b/docs/codeql/reusables/supported-versions-compilers.rst @@ -16,7 +16,7 @@ .NET Core up to 3.1 .NET 5, .NET 6, .NET 7, .NET 8","``.sln``, ``.csproj``, ``.cs``, ``.cshtml``, ``.xaml``" - Go (aka Golang), "Go up to 1.22", "Go 1.11 or more recent", ``.go`` + Go (aka Golang), "Go up to 1.23", "Go 1.11 or more recent", ``.go`` Java,"Java 7 to 22 [5]_","javac (OpenJDK and Oracle JDK), Eclipse compiler for Java (ECJ) [6]_",``.java`` diff --git a/go/extractor/autobuilder/build-environment.go b/go/extractor/autobuilder/build-environment.go index 4659fef71dfb..cc3dc62c02dc 100644 --- a/go/extractor/autobuilder/build-environment.go +++ b/go/extractor/autobuilder/build-environment.go @@ -12,7 +12,7 @@ import ( ) var minGoVersion = util.NewSemVer("1.11") -var maxGoVersion = util.NewSemVer("1.22") +var maxGoVersion = util.NewSemVer("1.23") type versionInfo struct { goModVersion util.SemVer // The version of Go found in the go directive in the `go.mod` file.