From f411c4787703e0c002a72bb7d6e1844fbbac0248 Mon Sep 17 00:00:00 2001 From: Cliff Su Date: Thu, 7 Sep 2023 15:25:22 -0500 Subject: [PATCH] [YUNIKORN-1949] Core: Bump go version to 1.21 (#637) Closes: #637 Signed-off-by: Craig Condit --- .go_version | 2 +- .golangci.yml | 2 +- Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.go_version b/.go_version index 5fb5a6b4f..0f6abf48a 100644 --- a/.go_version +++ b/.go_version @@ -1 +1 @@ -1.20 +1.21 \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index 77011a9fa..253fb799a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,7 +19,7 @@ # options for analysis running run: - go: '1.17' + go: '1.21' issues-exit-code: 1 skip-dirs-use-default: true modules-download-mode: readonly diff --git a/Makefile b/Makefile index 02d26cad4..0b5dd5883 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ endif endif # golangci-lint -GOLANGCI_LINT_VERSION=1.53.3 +GOLANGCI_LINT_VERSION=1.54.2 GOLANGCI_LINT_BIN=$(TOOLS_DIR)/golangci-lint GOLANGCI_LINT_ARCHIVE=golangci-lint-$(GOLANGCI_LINT_VERSION)-$(OS)-$(EXEC_ARCH).tar.gz GOLANGCI_LINT_ARCHIVEBASE=golangci-lint-$(GOLANGCI_LINT_VERSION)-$(OS)-$(EXEC_ARCH)