diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 34ec364ef9..46cc7973c2 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -24,9 +24,14 @@ jobs: **/*.go go.mod go.sum + - uses: actions/setup-go@v4 + if: env.GIT_DIFF + with: + go-version-file: go.mod - uses: golangci/golangci-lint-action@v3 if: env.GIT_DIFF with: - version: v1.52.1 + version: v1.54.2 + install-mode: goinstall args: --timeout 10m github-token: ${{ secrets.github_token }} diff --git a/.golangci.yml b/.golangci.yml index 5cdf2c1089..ed09a7a08e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -10,7 +10,7 @@ linters: enable: - bodyclose - decorder - - depguard + # - depguard - dogsled - dupword # - errcheck