Skip to content

Update dependency golangci/golangci-lint to v2.12.2#697

Open
govuk-ci wants to merge 1 commit into
mainfrom
renovate/golangci-golangci-lint-2.x
Open

Update dependency golangci/golangci-lint to v2.12.2#697
govuk-ci wants to merge 1 commit into
mainfrom
renovate/golangci-golangci-lint-2.x

Conversation

@govuk-ci
Copy link
Copy Markdown

@govuk-ci govuk-ci commented May 11, 2026

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint uses-with minor v2.11v2.12.2

Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.12.2

Compare Source

Released on 2026-05-06

  1. Linters bug fixes
    • gomodguard_v2: fix blocked configuration
    • gomodguard_v2: from 2.1.0 to 2.1.3
    • iface: from 1.4.1 to 1.4.2

v2.12.1

Compare Source

Released on 2026-05-01

  1. Linters bug fixes
    • gomodguard_v2: fix panic with migration suggestion
  2. Misc.
    • fix install.sh script (if you are still using an URL based on the branch master, please update to use https://golangci-lint.run/install.sh)

v2.12.0

Compare Source

Released on 2026-05-01

  1. New linters
  2. Linters new features or changes
    • dupl: from f665c8d to c99c5cf (extended detection)
    • funcorder: from 0.5.0 to 0.6.0 (new option: function)
    • goconst: add an option to ignore strings from tests
    • goconst: from 1.8.2 to 1.10.0 (extended detection)
    • gomodguard_v2: from 1.4.1 to 2.1.0 (major version with new configuration)
    • gosec: from 619ce21 to 2.26.1 (new checks: G124, G708, G709, G710)
    • govet: add inline analyzer
    • makezero: from 2.1.0 to 2.2.1 (support slice type aliases)
    • paralleltest: expose checkcleanup option
    • sloglint: from 0.11.1 to 0.12.0 (new options: allowed-keys, custom-funcs)
    • wsl_v5: from 5.6.0 to 5.8.0 (new option: cuddle-max-statements; new checks: after-decl, after-defer, after-expr, after-go, cuddle-group)
  3. Linters bug fixes
    • forbidigo: from 2.3.0 to 2.3.1
    • godot: from 1.5.4 to 1.5.6
    • govet-modernize: from 0.43.0 to 0.44.0
    • ireturn: from 0.4.0 to 0.4.1
    • rowserrcheck: from 1.1.1 to c5f79b8
  4. Misc.
    • Decrease cache entropy
    • Embed the JSON schema in the binary
    • Filter env vars when cloning the repository with the custom command

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

This PR has been generated by Mend Renovate.

@govuk-ci govuk-ci force-pushed the renovate/golangci-golangci-lint-2.x branch from 5c39b91 to 0a3be60 Compare May 12, 2026 11:04
@govuk-ci govuk-ci changed the title Update dependency golangci/golangci-lint to v2.12.0 Update dependency golangci/golangci-lint to v2.12.1 May 12, 2026
@govuk-ci govuk-ci force-pushed the renovate/golangci-golangci-lint-2.x branch from 0a3be60 to c89d1d1 Compare May 12, 2026 16:05
@jfharden
Copy link
Copy Markdown
Contributor

I've opened an issue to do this upgrade

@jfharden
Copy link
Copy Markdown
Contributor

jfharden commented May 13, 2026

@dependabot rebase

Edit: This is renovate, not dependabot 🫠

@govuk-ci govuk-ci force-pushed the renovate/golangci-golangci-lint-2.x branch from c89d1d1 to aba4a3d Compare May 13, 2026 16:03
@govuk-ci govuk-ci force-pushed the renovate/golangci-golangci-lint-2.x branch from aba4a3d to c5c8cf0 Compare May 16, 2026 12:04
@govuk-ci govuk-ci changed the title Update dependency golangci/golangci-lint to v2.12.1 Update dependency golangci/golangci-lint to v2.12.2 May 16, 2026
@github-actions
Copy link
Copy Markdown

Coverage report

Overall coverage: 87.5% 🔴 - Change vs. main: 👈 +/- 0%

Package Statements Covered Happy? Change vs Main
github.com/alphagov/router 85.4% 🔴 👈 +/- 0%
github.com/alphagov/router/handlers 95.6% 👈 +/- 0%
github.com/alphagov/router/lib 82.6% 🔴 👈 +/- 0%
github.com/alphagov/router/trie 97.7% 👈 +/- 0%
github.com/alphagov/router/triemux 100.0% 👈 +/- 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants