From 2ded8196f602c46a075c40c5d3e19f238ac9c9a8 Mon Sep 17 00:00:00 2001 From: Kobi Samoray Date: Tue, 14 Jan 2025 13:45:15 +0200 Subject: [PATCH] Change go linter version to make tests pass Signed-off-by: Kobi Samoray --- .github/workflows/golangci-lint.yml | 4 ++-- go.mod | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8f01f825e..a9f392b71 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -12,8 +12,8 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.56.1 - args: --issues-exit-code=1 + version: v1.62.0 + args: --issues-exit-code=1 --timeout 10m only-new-issues: true skip-pkg-cache: true skip-build-cache: true diff --git a/go.mod b/go.mod index fc6adea8d..f4665e48e 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,8 @@ module github.com/vmware/terraform-provider-nsxt -go 1.22 -toolchain go1.22.5 +go 1.22.0 + +toolchain go1.23.3 replace ( github.com/vmware/vsphere-automation-sdk-go/lib => github.com/vmware/vsphere-automation-sdk-go/lib v0.7.1-0.20241113023437-5938c535c194