diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 74ef459a..0913121c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,9 +28,9 @@ 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.56.2 + version: v1.62.0 fmt: name: fmt diff --git a/.golangci.yml b/.golangci.yml index 530b0cfd..ec3319d6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,7 +7,6 @@ linters: - bodyclose - durationcheck - errcheck - - exportloopref - goimports - gosec - gosimple @@ -31,6 +30,7 @@ linters-settings: confidence: "low" excludes: - G101 + - G115 - G404 # exclude warnings of using crypto/sha1 - G505