Skip to content

chore(deps): update golangci/golangci-lint docker tag to v2.12.2#3385

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/blueprint-test-golangci-golangci-lint-2.x
Open

chore(deps): update golangci/golangci-lint docker tag to v2.12.2#3385
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/blueprint-test-golangci-golangci-lint-2.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented Mar 3, 2026

This PR contains the following updates:

Package Update Change
golangci/golangci-lint minor 2.8.02.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

v2.11.4

Compare Source

Released on 2026-03-22

  1. Linters bug fixes
    • govet-modernize: from 0.42.0 to 0.43.0
    • noctx: from 0.5.0 to 0.5.1
    • sqlclosecheck: from 0.5.1 to 0.6.0

v2.11.3

Compare Source

Released on 2026-03-10

  1. Linters bug fixes

v2.11.2

Compare Source

Released on 2026-03-07

  1. Fixes
    • fmt: fix error when using the fmt command with explicit paths.

v2.11.1

Compare Source

Released on 2026-03-06

Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

This release contains the same things as v2.11.0.

v2.11.0

Compare Source

Released on 2026-03-06

  1. Linters new features or changes
    • errcheck: from 1.9.0 to 1.10.0 (exclude crypto/rand.Read by default)
    • gosec: from 2.23.0 to 2.24.6 (new rules: G113, G118, G119, G120, G121, G122, G123, G408, G707)
    • noctx: from 0.4.0 to 0.5.0 (new detection: httptest.NewRequestWithContext)
    • prealloc: from 1.0.2 to 1.1.0
    • revive: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from var-naming to a new rule package-naming)
  2. Linters bug fixes
    • gocognit: from 1.2.0 to 1.2.1
    • gosec: from 2.24.6 to 2.24.7
    • unqueryvet: from 1.5.3 to 1.5.4

v2.10.1

Compare Source

Released on 2026-02-17

  1. Fixes
    • buildssa panic

v2.10.0

Compare Source

Released on 2026-02-17

  1. Linters new features or changes
    • ginkgolinter: from 0.22.0 to 0.23.0
    • gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    • staticcheck: from 0.6.1 to 0.7.0
  2. Linters bug fixes
    • godoclint: from 0.11.1 to 0.11.2

v2.9.0

Compare Source

Released on 2026-02-10

  1. Enhancements
    • 🎉 go1.26 support
  2. Linters new features or changes
    • arangolint: from 0.3.1 to 0.4.0 (new rule: detect potential query injections)
    • ginkgolinter: from 0.21.2 to 0.22.0 (support for wrappers)
    • golines: from 0.14.0 to 0.15.0
    • misspell: from 0.7.0 to 0.8.0
    • revive: from v1.13.0 to v1.14.0 (new rules: epoch-naming, use-slices-sort)
    • unqueryvet: from 1.4.0 to 1.5.3 (new options: check-n1, check-sql-injection, check-tx-leaks, allow, custom-rules)
    • wsl_v5: from 5.3.0 to 5.6.0 (new rule: after-block)
  3. Linters bug fixes
    • modernize: from 0.41.0 to 0.42.0
    • prealloc: from 1.0.1 to 1.0.2
    • protogetter: from 0.3.18 to 0.3.20
  4. Misc.
    • Log information about files when configuration verification
    • Emit an error when no linters enabled
    • Do not collect VCS information when loading code

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from bharathkkb as a code owner March 3, 2026 23:29
@forking-renovate forking-renovate Bot added the dependencies Pull requests that update a dependency file label Mar 3, 2026
@renovate-bot renovate-bot added the dependencies Pull requests that update a dependency file label Mar 3, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request automates the update of the golangci/golangci-lint Docker image version used in the project's Makefile. This ensures that the project benefits from the latest linter features, bug fixes, and performance improvements, contributing to better code quality and consistency across the codebase.

Highlights

  • Dependency Update: Updated the golangci/golangci-lint Docker tag from v2.8.0 to v2.10.1.
  • Linter Enhancements: Incorporated golangci-lint v2.9.0 which adds Go 1.26 support and updates several linters like arangolint, ginkgolinter, revive, and unqueryvet.
  • Linter Updates and Bug Fixes: Included golangci-lint v2.10.0 with updates to ginkgolinter, gosec, and staticcheck, and a bug fix for godoclint. Version v2.10.1 provides a fix for a buildssa panic.
Changelog
  • infra/blueprint-test/Makefile
    • Updated GOLANGCI_VERSION from 2.8.0 to 2.10.1.
    • Incorporated golangci-lint v2.9.0 which adds Go 1.26 support and updates several linters like arangolint, ginkgolinter, revive, and unqueryvet.
    • Incorporated golangci-lint v2.10.0 which updates ginkgolinter, gosec, and staticcheck, and fixes a bug in godoclint.
    • Incorporated golangci-lint v2.10.1 which includes a fix for a buildssa panic.
Activity
  • Automated dependency update initiated by renovate-bot.
  • No human reviews or comments have been made yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request from Renovate updates the golangci-lint version. My review identifies a potential issue of version inconsistency. The update only targets one usage of the linter, but evidence from other files suggests there are multiple usages in the repository. I've left a comment on the change to highlight this problem, as using different linter versions can lead to inconsistent code quality checks.

Comment thread infra/blueprint-test/Makefile Outdated
@@ -1,5 +1,5 @@
SHELL := /bin/bash
GOLANGCI_VERSION := 2.8.0
GOLANGCI_VERSION := 2.10.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This update appears to be incomplete, creating a version inconsistency for golangci-lint in the repository. While this line updates the version for blueprint tests, the file infra/build/developer-tools-krm/build/install_golangci_lint.sh indicates another usage of the linter. Having multiple versions of golangci-lint can lead to inconsistent linting results. To maintain consistency, all usages of golangci-lint across the repository should be updated to the same version.

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 8efb63a to f759b2c Compare March 3, 2026 23:36
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from f759b2c to 90c95c8 Compare March 3, 2026 23:43
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 90c95c8 to 00de76a Compare March 3, 2026 23:56
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 00de76a to 11f08d8 Compare March 4, 2026 00:05
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 11f08d8 to bef39f7 Compare March 4, 2026 00:25
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from bef39f7 to 28795b2 Compare March 6, 2026 22:47
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 6, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 28795b2 to 78f7e85 Compare March 7, 2026 00:23
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 78f7e85 to 222a9b1 Compare March 7, 2026 00:45
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

@renovate-bot renovate-bot changed the title chore(deps): update golangci/golangci-lint docker tag to v2.10.1 chore(deps): update golangci/golangci-lint docker tag to v2.11.1 Mar 13, 2026
@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 222a9b1 to 743ae91 Compare March 13, 2026 19:15
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Mar 13, 2026

/gcbrun

@renovate-bot renovate-bot changed the title chore(deps): update golangci/golangci-lint docker tag to v2.11.1 chore(deps): update golangci/golangci-lint docker tag to v2.11.2 Mar 15, 2026
@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 743ae91 to 7f524d4 Compare March 15, 2026 02:54
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 18, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 5cc24bf to 7058ebf Compare May 18, 2026 22:42
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 18, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 7058ebf to 3f5a3e2 Compare May 19, 2026 17:44
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 3f5a3e2 to 39865b6 Compare May 19, 2026 18:04
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 39865b6 to 31c72c6 Compare May 19, 2026 18:10
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 31c72c6 to 3c56f7e Compare May 19, 2026 21:42
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 3c56f7e to 4084281 Compare May 19, 2026 21:53
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 4084281 to 1ea94db Compare May 19, 2026 22:05
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 1ea94db to fe8143c Compare May 19, 2026 22:45
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@apeabody apeabody enabled auto-merge (squash) May 19, 2026 22:52
auto-merge was automatically disabled May 19, 2026 22:54

Head branch was pushed to by a user without write access

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from fe8143c to 4a3aeaf Compare May 19, 2026 22:54
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 4a3aeaf to 3bd28ad Compare May 19, 2026 22:58
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 3bd28ad to 391e6e7 Compare May 19, 2026 23:14
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 391e6e7 to 82d5b87 Compare May 20, 2026 22:21
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 20, 2026

/gcbrun

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants