Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.8.0 #1281

Merged
mfenniak merged 1 commit from renovate/github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x into main 2026-01-13 15:40:19 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2/cmd/golangci-lint v2.6.1v2.8.0 age confidence

Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2/cmd/golangci-lint)

v2.8.0

Compare Source

Released on 2026-01-07

  1. Linters new features or changes
    • godoc-lint: from 0.10.2 to 0.11.1 (new rule: require-stdlib-doclink)
    • golines: from 442fd00 to 0.14.0
    • gomoddirectives: from 0.7.1 to 0.8.0
    • gosec: from daccba6 to 2.22.11 (new rule: G116)
    • modernize: from 0.39.0 to 0.40.0 (new analyzers: stringscut, unsafefuncs)
    • prealloc: from 1.0.0 to 1.0.1 (message changes)
    • unqueryvet: from 1.3.0 to 1.4.0 (new options: check-aliased-wildcard, check-string-concat, check-format-strings, check-string-builder, check-subqueries, ignored-functions, sql-builders)
  2. Linters bug fixes
    • go-critic: from 0.14.2 to 0.14.3
    • go-errorlint: from 1.8.0 to 1.9.0
    • govet: from 0.39.0 to 0.40.0
    • protogetter: from 0.3.17 to 0.3.18
    • revive: add missing enable-default-rules setting
  3. Documentation
    • docs: split installation page

v2.7.2

Compare Source

Released on 2025-12-07

  1. Linter bug fixes

v2.7.1

Compare Source

Released on 2025-12-04

  1. Linter bug fixes
    • modernize: disable stringscut analyzer

v2.7.0

Compare Source

Released on 2025-12-03

  1. Bug fixes
    • fix: clone args used by custom command
  2. Linters new features or changes
    • no-sprintf-host-port: from 0.2.0 to 0.3.1 (ignore string literals without a colon)
    • unqueryvet: from 1.2.1 to 1.3.0 (handles const and var declarations)
    • revive: from 1.12.0 to 1.13.0 (new option: enable-default-rules, new rules: forbidden-call-in-wg-go, unnecessary-if, inefficient-map-lookup)
    • modernize: from 0.38.0 to 0.39.0 (new analyzers: plusbuild, stringscut)
  3. Linters bug fixes
    • perfsprint: from 0.10.0 to 0.10.1
    • wrapcheck: from 2.11.0 to 2.12.0
    • godoc-lint: from 0.10.1 to 0.10.2
  4. Misc.
    • Add some flags to the custom command
  5. Documentation
    • docs: split changelog v1 and v2

v2.6.2

Compare Source

Released on 2025-11-14

  1. Bug fixes
    • fmt command with symlinks
    • use file depending on build configuration to invalidate cache
  2. Linters bug fixes
    • testableexamples: from 1.0.0 to 1.0.1
    • testpackage: from 1.1.1 to 1.1.2

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/golangci/golangci-lint/v2/cmd/golangci-lint](https://github.com/golangci/golangci-lint) | `v2.6.1` → `v2.8.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint%2fv2%2fcmd%2fgolangci-lint/v2.8.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint%2fv2%2fcmd%2fgolangci-lint/v2.6.1/v2.8.0?slim=true) | --- ### Release Notes <details> <summary>golangci/golangci-lint (github.com/golangci/golangci-lint/v2/cmd/golangci-lint)</summary> ### [`v2.8.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v280) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.7.2...v2.8.0) *Released on 2026-01-07* 1. Linters new features or changes - `godoc-lint`: from 0.10.2 to 0.11.1 (new rule: `require-stdlib-doclink`) - `golines`: from [`442fd00`](https://github.com/golangci/golangci-lint/commit/442fd0091d95) to 0.14.0 - `gomoddirectives`: from 0.7.1 to 0.8.0 - `gosec`: from [`daccba6`](https://github.com/golangci/golangci-lint/commit/daccba6b93d7) to 2.22.11 (new rule: `G116`) - `modernize`: from 0.39.0 to 0.40.0 (new analyzers: `stringscut`, `unsafefuncs`) - `prealloc`: from 1.0.0 to 1.0.1 (message changes) - `unqueryvet`: from 1.3.0 to 1.4.0 (new options: `check-aliased-wildcard`, `check-string-concat`, `check-format-strings`, `check-string-builder`, `check-subqueries`, `ignored-functions`, `sql-builders`) 2. Linters bug fixes - `go-critic`: from 0.14.2 to 0.14.3 - `go-errorlint`: from 1.8.0 to 1.9.0 - `govet`: from 0.39.0 to 0.40.0 - `protogetter`: from 0.3.17 to 0.3.18 - `revive`: add missing enable-default-rules setting 3. Documentation - docs: split installation page ### [`v2.7.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v272) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.7.1...v2.7.2) *Released on 2025-12-07* 1. Linter bug fixes - `gosec`: from 2.22.10 to [`daccba6`](https://github.com/golangci/golangci-lint/commit/daccba6b93d7) ### [`v2.7.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v271) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.7.0...v2.7.1) *Released on 2025-12-04* 1. Linter bug fixes - `modernize`: disable `stringscut` analyzer ### [`v2.7.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v270) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.6.2...v2.7.0) *Released on 2025-12-03* 1. Bug fixes - fix: clone args used by `custom` command 2. Linters new features or changes - `no-sprintf-host-port`: from 0.2.0 to 0.3.1 (ignore string literals without a colon) - `unqueryvet`: from 1.2.1 to 1.3.0 (handles `const` and `var` declarations) - `revive`: from 1.12.0 to 1.13.0 (new option: `enable-default-rules`, new rules: `forbidden-call-in-wg-go`, `unnecessary-if`, `inefficient-map-lookup`) - `modernize`: from 0.38.0 to 0.39.0 (new analyzers: `plusbuild`, `stringscut`) 3. Linters bug fixes - `perfsprint`: from 0.10.0 to 0.10.1 - `wrapcheck`: from 2.11.0 to 2.12.0 - `godoc-lint`: from 0.10.1 to 0.10.2 4. Misc. - Add some flags to the `custom` command 5. Documentation - docs: split changelog v1 and v2 ### [`v2.6.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v262) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.6.1...v2.6.2) *Released on 2025-11-14* 1. Bug fixes - `fmt` command with symlinks - use file depending on build configuration to invalidate cache 2. Linters bug fixes - `testableexamples`: from 1.0.0 to 1.0.1 - `testpackage`: from 1.1.1 to 1.1.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43OC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiS2luZC9EZXBlbmRlbmN5VXBkYXRlIiwicnVuLWVuZC10by1lbmQtdGVzdHMiXX0=-->
Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.8.0
All checks were successful
checks / build and test (pull_request) Successful in 55s
checks / validate mocks (pull_request) Successful in 30s
checks / validate pre-commit-hooks file (pull_request) Successful in 39s
issue-labels / release-notes (pull_request_target) Has been skipped
checks / integration tests (docker-latest) (pull_request) Successful in 9m51s
checks / integration tests (docker-stable) (pull_request) Successful in 12m20s
checks / runner exec tests (pull_request) Successful in 33s
checks / runner integration tests (pull_request) Successful in 5m19s
cascade / debug (pull_request_target) Has been skipped
cascade / end-to-end (pull_request_target) Successful in 8s
cascade / forgejo (pull_request_target) Successful in 1m51s
b5dfd747c2
Contributor

cascading-pr updated at actions/setup-forgejo#823

cascading-pr updated at https://code.forgejo.org/actions/setup-forgejo/pulls/823
Contributor

cascading-pr updated at actions/setup-forgejo#823

cascading-pr updated at https://code.forgejo.org/actions/setup-forgejo/pulls/823
mfenniak approved these changes 2026-01-13 15:40:15 +00:00
mfenniak deleted branch renovate/github.com-golangci-golangci-lint-v2-cmd-golangci-lint-2.x 2026-01-13 15:40:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/runner!1281
No description provided.