From 529cc6241bc5775d92db8d72fbf0f7f0b86067a5 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Mon, 9 Dec 2024 15:05:50 -0800 Subject: [PATCH] chore: enable GO 1.23 on repo (#2736) Co-authored-by: Bharath KKB --- .github/renovate.json | 6 ++++-- go.work | 2 +- infra/terraform/test-org/github/resources/renovate.json | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index d6e62ef8cb0..83b115a48ed 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -16,7 +16,9 @@ }, "separateMajorMinor": false, "additionalBranchPrefix": "{{parentDir}}-", - "constraints": {"go": "1.22"}, + "constraints": { + "go": "1.23" + }, "packageRules": [ { "matchFileNames": [".github/**"], @@ -40,7 +42,7 @@ }, { "matchPackageNames": ["go"], - "allowedVersions": "1.22", + "allowedVersions": "1.23", "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"] } ], diff --git a/go.work b/go.work index b46bf6b4bb5..30e1e9246a4 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.22.7 +go 1.23.0 use ( ./cli diff --git a/infra/terraform/test-org/github/resources/renovate.json b/infra/terraform/test-org/github/resources/renovate.json index ef9bbe6b494..3310c233602 100644 --- a/infra/terraform/test-org/github/resources/renovate.json +++ b/infra/terraform/test-org/github/resources/renovate.json @@ -13,7 +13,9 @@ "labels": ["type:security"], "minimumReleaseAge": "0 days" }, - "constraints": {"go": "1.22"}, + "constraints": { + "go": "1.23" + }, "packageRules": [ { "matchFileNames": ["*", "modules/**"], @@ -42,7 +44,7 @@ "matchManagers": ["gomod"], "matchDatasources": ["golang-version"], "rangeStrategy": "replace", - "allowedVersions": "1.22", + "allowedVersions": "1.23", "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"] }, {