Skip to content

chore: update golangci-lint to v2.12.2 (backport #565)#566

Open
mergify[bot] wants to merge 1 commit into
v1.12.xfrom
mergify/bp/v1.12.x/pr-565
Open

chore: update golangci-lint to v2.12.2 (backport #565)#566
mergify[bot] wants to merge 1 commit into
v1.12.xfrom
mergify/bp/v1.12.x/pr-565

Conversation

@mergify

@mergify mergify Bot commented Jun 8, 2026

Copy link
Copy Markdown

longhorn-spdk-engine was still pinning golangci-lint v2.11.4, while the matching longhorn-manager update has already moved to v2.12.2. This PR aligns the engine image build with that newer linter release.

  • Linter version bump

    • Updated the root Dockerfile linter image reference from v2.11.4 to v2.12.2.
  • Image install flow

    • Replaced the curl-based installer path with a direct copy from the official golangci/golangci-lint image.
    • Keeps the linter supply chain consistent with the upstream change.
FROM golangci/golangci-lint:v2.12.2 AS golangci-lint

COPY --from=golangci-lint /usr/bin/golangci-lint /usr/local/bin/golangci-lint
```<hr>This is an automatic backport of pull request #565 done by [Mergify](https://mergify.com).

@mergify mergify Bot added the conflicts label Jun 8, 2026
@mergify

mergify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Author

Cherry-pick of 0b3ac51 has failed:

On branch mergify/bp/v1.12.x/pr-565
Your branch is up to date with 'origin/v1.12.x'.

You are currently cherry-picking commit 0b3ac51.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   Dockerfile
	both modified:   go.mod

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@derekbit derekbit force-pushed the mergify/bp/v1.12.x/pr-565 branch from c39d054 to 9b00caa Compare June 11, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant