diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ed37669..7e26a4f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,7 @@ jobs: go-version-file: go.mod cache: false - name: golangci-lint - uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 + uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0 with: version: ${{ env.GOLANGCI_LINT_VERSION }} - name: tidy diff --git a/.golangci.yml b/.golangci.yml index f2b1b03..ab8bc90 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,6 +4,7 @@ run: issues: max-issues-per-linter: 0 max-same-issues: 0 + uniq-by-line: true exclude-rules: - path: _test\.go linters: @@ -22,7 +23,6 @@ issues: - unparam output: - uniq-by-line: true sort-results: true linters: