diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 333a73a8f..228a6f2f0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: ${{ runner.OS }}-build-${{ env.cache-name }}- ${{ runner.OS }}-build- ${{ runner.OS }}- - - run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2 + - run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.0 - run: echo "${HOME}/.local/bin" >> $GITHUB_PATH - name: Add license run: | diff --git a/.golangci.yml b/.golangci.yml index 817c8776e..276cb14d2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,6 +11,7 @@ linters: - govet - ineffassign - misspell + - noloopclosure - rowserrcheck - sqlclosecheck - staticcheck