Skip to content

Bump golangci-lint in the build image to 2.15.0 - #55

Merged
umputun merged 1 commit into
masterfrom
build-go-golangci-lint-2.15
Nov 7, 2026
Merged

umputun merged 1 commit into
masterfrom
build-go-golangci-lint-2.15

Conversation

@paskal

@paskal paskal commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Previously, the buildgo image installed golangci-lint 2.13.1. golang:1.27-alpine now resolves to Go 1.27.3, and golangci-lint 2.13.1 cannot read its export data: linting remark42 fails with export data version 5 is greater than maximum supported version 4. Rebuilding the image without updating golangci-lint would cause remark42's lint step to fail. The current v1.21.1 image still works because it was built on Go 1.27.1.

After this change, the image installs golangci-lint 2.15.0, the current release.

Checked locally: the image built from this branch carries Go 1.27.3 and golangci-lint 2.15.0, and golangci-lint run --config ../.golangci.yml ./... in remark42's backend/app, the command its Dockerfile runs, reports no issues. golangci-lint 2.13.1 built on the same Go 1.27.3 fails that run with the error quoted above.

golang:1.27-alpine now resolves to Go 1.27.3, whose export data
golangci-lint 2.13.1 cannot read. Rebuilding the image without updating
golangci-lint would cause remark42's lint step to fail. 2.15.0 is the
current release.

@umputun umputun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

lgtm

@umputun
umputun merged commit a3372be into master Nov 7, 2026
14 checks passed
@umputun
umputun deleted the build-go-golangci-lint-2.15 branch November 7, 2026 09:03
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