From f846082c5c153138017bedd6726d171bef7c6692 Mon Sep 17 00:00:00 2001 From: kesavan thiruvenkadasamy Date: Fri, 3 Nov 2023 13:00:13 +0530 Subject: [PATCH] [Security] - upgrade golang to 1.21.2 for mitigating security risks Signed-off-by: kesavan thiruvenkadasamy --- .travis.yml | 2 +- Makefile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71c27d46b..4b0abb49d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: global: - GO111MODULE=on go: - - 1.20 + - 1.21.2 script: - | if [ -n "${TRAVIS_TAG}" ]; then diff --git a/Makefile b/Makefile index 2589e8a0a..28b8454e1 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BASE_DIR := $(shell git rev-parse --show-toplevel) GIT_SHA := $(shell git rev-parse --short HEAD) BIN := $(BASE_DIR)/bin -DOCK_BUILD_CNT := golang:1.20.5 +DOCK_BUILD_CNT := golang:1.21.2 DOCKER_IMAGE_REPO?=portworx DOCKER_IMAGE_NAME?=kdmp diff --git a/go.mod b/go.mod index 72350276e..8c129ba56 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/portworx/kdmp -go 1.20 +go 1.21 require ( github.com/aquilax/truncate v1.0.0