goversion: add 1.23 to supported versions, update test matrix (#3780)

Add 1.23 to supported versions and to test matrix, remove 1.19 and 1.20
from supported versions (1.19 should have been removed long ago, but we
forgot to do it on release).
This commit is contained in:
Alessandro Arzilli 2024-07-15 23:43:03 +02:00 committed by GitHub
parent c1366e90cc
commit eb0c6f89e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

@ -41,25 +41,25 @@ To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View
version = "2023.05"
val targets = arrayOf(
"linux/amd64/1.20",
"linux/amd64/1.21",
"linux/amd64/1.22",
"linux/amd64/1.23"
"linux/amd64/tip",
"linux/386/1.22",
"linux/386/1.23",
"linux/arm64/1.22",
"linux/arm64/1.23",
"linux/arm64/tip",
"linux/ppc64le/1.22",
"linux/ppc64le/1.23",
"windows/amd64/1.22",
"windows/amd64/1.23",
"windows/amd64/tip",
"mac/amd64/1.22",
"mac/amd64/1.23",
"mac/amd64/tip",
"mac/arm64/1.22",
"mac/arm64/1.23",
"mac/arm64/tip"
)

@ -8,9 +8,9 @@ import (
var (
MinSupportedVersionOfGoMajor = 1
MinSupportedVersionOfGoMinor = 19
MinSupportedVersionOfGoMinor = 21
MaxSupportedVersionOfGoMajor = 1
MaxSupportedVersionOfGoMinor = 22
MaxSupportedVersionOfGoMinor = 23
goTooOldErr = fmt.Sprintf("Go version %%s is too old for this version of Delve (minimum supported version %d.%d, suppress this error with --check-go-version=false)", MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor)
goTooOldWarn = fmt.Sprintf("WARNING: undefined behavior - Go version %%s is too old for this version of Delve (minimum supported version %d.%d)", MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor)
dlvTooOldErr = fmt.Sprintf("Version of Delve is too old for Go version %%s (maximum supported version %d.%d, suppress this error with --check-go-version=false)", MaxSupportedVersionOfGoMajor, MaxSupportedVersionOfGoMinor)