From fc5769c456501e89f5ce2da9d00c09b0c691596a Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Tue, 29 Oct 2024 10:40:09 +0800 Subject: [PATCH 1/2] update --- .github/workflows/lint.yml | 3 ++- go.mod | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 74ef459a..c09e348e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,7 +30,8 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3.3.0 with: - version: v1.56.2 + version: v1.61.0 + args: --verbose fmt: name: fmt diff --git a/go.mod b/go.mod index afed64c8..e085a0d7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tidbcloud/tidbcloud-cli -go 1.22 +go 1.23 require ( github.com/AlecAivazis/survey/v2 v2.3.6 From 083cb374434c83212398ff533437853d864466df Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Tue, 29 Oct 2024 10:46:13 +0800 Subject: [PATCH 2/2] update --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c09e348e..f40f2b9a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,7 +28,7 @@ jobs: go-version-file: './go.mod' - name: golangci-lint - uses: golangci/golangci-lint-action@v3.3.0 + uses: golangci/golangci-lint-action@v6 with: version: v1.61.0 args: --verbose