From 3c7d0209d44e4763955eefecf9a1092ac4e38f69 Mon Sep 17 00:00:00 2001 From: shaoting-huang <167743503+shaoting-huang@users.noreply.github.com> Date: Fri, 24 May 2024 14:23:40 +0800 Subject: [PATCH] enhance: update checker for go version (#33351) Signed-off-by: shaoting-huang [shaoting-huang@zilliz.com] issue: https://github.com/milvus-io/milvus/issues/32982 Signed-off-by: shaoting-huang --- .github/workflows/mac.yaml | 2 +- client/.golangci.yml | 2 +- client/go.mod | 2 +- pkg/go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index d17125b9d7c86..ccb21ebaab5af 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -56,7 +56,7 @@ jobs: - name: Setup Go environment uses: actions/setup-go@v2.2.0 with: - go-version: '~1.20.7' + go-version: '~1.21.10' - name: Mac Cache Go Mod Volumes uses: actions/cache@v3 with: diff --git a/client/.golangci.yml b/client/.golangci.yml index 5c90b6d694fc3..8b90a9f55a473 100644 --- a/client/.golangci.yml +++ b/client/.golangci.yml @@ -1,5 +1,5 @@ run: - go: "1.20" + go: "1.21" skip-dirs: - build - configs diff --git a/client/go.mod b/client/go.mod index 79dce6b878164..af0f2721f0df9 100644 --- a/client/go.mod +++ b/client/go.mod @@ -1,6 +1,6 @@ module github.com/milvus-io/milvus/client/v2 -go 1.20 +go 1.21 require ( github.com/blang/semver/v4 v4.0.0 diff --git a/pkg/go.mod b/pkg/go.mod index 1096ab575a204..8dc08d622c50f 100644 --- a/pkg/go.mod +++ b/pkg/go.mod @@ -1,6 +1,6 @@ module github.com/milvus-io/milvus/pkg -go 1.20 +go 1.21 require ( github.com/apache/pulsar-client-go v0.6.1-0.20210728062540-29414db801a7