From 3f09b9a33251ac891f7fb24360a7f2eb2d8afdcc Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Mon, 15 Dec 2025 11:46:27 +0100 Subject: [PATCH] Update to Go 1.25.5 and Go linter 2.7.2 --- .github/workflows/code-health.yaml | 2 +- Makefile | 2 +- cfn-resources/go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-health.yaml b/.github/workflows/code-health.yaml index 4401871ae..519254d66 100644 --- a/.github/workflows/code-health.yaml +++ b/.github/workflows/code-health.yaml @@ -52,7 +52,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 with: - version: v2.4.0 # Also update GOLANGCI_VERSION variable in Makefile when updating this version + version: v2.7.2 # Also update GOLANGCI_VERSION variable in Makefile when updating this version working-directory: cfn-resources - name: actionlint run: | diff --git a/Makefile b/Makefile index 860b05d1e..763e62ae5 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ ldXflags=github.com/mongodb/mongodbatlas-cloudformation-resources/util.defaultLo ldXflagsD=github.com/mongodb/mongodbatlas-cloudformation-resources/util.defaultLogLevel=debug MOCKERY_VERSION=v3.5.3 -GOLANGCI_VERSION=v2.4.0 # Also update golangci-lint GH action in code-health.yml when updating this version +GOLANGCI_VERSION=v2.7.2 # Also update golangci-lint GH action in code-health.yml when updating this version .PHONY: submit submit: diff --git a/cfn-resources/go.mod b/cfn-resources/go.mod index 5cf08dd32..793083b1c 100644 --- a/cfn-resources/go.mod +++ b/cfn-resources/go.mod @@ -1,6 +1,6 @@ module github.com/mongodb/mongodbatlas-cloudformation-resources -go 1.25.0 +go 1.25.5 // Replacing with local copy of Atlas SDK v20231115014 to support new AdvancedConfiguration in *admin.AdvancedClusterDescription replace go.mongodb.org/atlas-sdk/v20231115014 => ../vendor/go.mongodb.org/atlas-sdk/v20231115014