From f127ff7cdf2175dc43e36feb6f917b9165ea0d61 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Fri, 29 Dec 2023 14:11:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20go-lint=20=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/GoCompileTest.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/GoCompileTest.yml b/.github/workflows/GoCompileTest.yml index 166090b..b726713 100644 --- a/.github/workflows/GoCompileTest.yml +++ b/.github/workflows/GoCompileTest.yml @@ -23,11 +23,15 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.21' - cache: false + + - run: go mod download + + # 进行代码检查 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.53 + version: v1.55.2 + skip-pkg-cache: true build-test: runs-on: ubuntu-latest