Skip to content

Bump golangci-lint to latest and fix issues#4410

Merged
stefanvanburen merged 4 commits intomainfrom
svanburen/golangci-lint
Mar 24, 2026
Merged

Bump golangci-lint to latest and fix issues#4410
stefanvanburen merged 4 commits intomainfrom
svanburen/golangci-lint

Conversation

@stefanvanburen
Copy link
Copy Markdown
Member

via make copyfrommakego. Only a couple of valid lints, and a lot of ignores from gosec (unfortunately).

via `make copyfrommakego`. Only a couple of valid lints, and a lot of
ignores from `gosec` (unfortunately).
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 24, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 24, 2026, 1:41 PM

stefanvanburen added a commit to bufbuild/makego that referenced this pull request Mar 24, 2026
In bufbuild/buf#4383 I failed to notice that protoc was a makego dep;
pulling in the latest via `copyfrommakego` in bufbuild/buf#4410 is
reverting this change. May as well bump to latest.

Ref: https://github.com/protocolbuffers/protobuf/releases
Because of bufbuild/makego#281, we're now dealing with a symlink;
update the handling to match.

Still not quite right as we're manually updating the PROTOC_VERSION here
to match what we already have in this repo, overriding makego's managed
version. We should get in bufbuild/makego#295.
Need to compute the include path from the unresolved path before
resolving the symlink.
@stefanvanburen
Copy link
Copy Markdown
Member Author

This needed a few further adjustments because of bufbuild/makego#281.

@stefanvanburen
Copy link
Copy Markdown
Member Author

Going to land this, but we also ought to get in bufbuild/makego#295 shortly since our PROTOC_VERSION is out of sync with makego (it already was from a previous PR).

@stefanvanburen stefanvanburen merged commit a63b4cb into main Mar 24, 2026
10 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/golangci-lint branch March 24, 2026 13:51
stefanvanburen added a commit to bufbuild/makego that referenced this pull request Mar 24, 2026
In bufbuild/buf#4383 I failed to notice that protoc was a makego dep;
pulling in the latest via `copyfrommakego` in bufbuild/buf#4410 is
reverting this change. May as well bump to latest.

Ref: https://github.com/protocolbuffers/protobuf/releases
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