Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump golangci-lint to 1.63.4 #6011

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

martintomazic
Copy link
Contributor

@martintomazic martintomazic commented Jan 26, 2025

Bump golangci-lint to 1.63.4

Warning

I only rename interface parameter names and some public methods' returned named values. This does not change the signature of functions so should not be breaking. Technically, if there would be tooling build around this, e.g. reflection, this would be breaking for the tooling. I don't think we have such clients, nor would this be breaking for the actual network etc...

Copy link

netlify bot commented Jan 26, 2025

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit 87c6072
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/67974f95344cb00008b101e8

@martintomazic martintomazic force-pushed the martin/trivial/fix/make-lint branch from 8738576 to a89d279 Compare January 26, 2025 17:35
Copy link
Contributor

@peternose peternose left a comment

Choose a reason for hiding this comment

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

The title is not clear. You are not fixing the make lint command, but the code to pass the lint check.
The comment is not clear. What is make-lint command? By noise you mean errors?
If you have problems with linter, you should downgrade yours to the one set in the code or even better, fix code and bump the linter (like in #5854).

go/p2p/api/api.go Outdated Show resolved Hide resolved
@martintomazic martintomazic force-pushed the martin/trivial/fix/make-lint branch from a89d279 to b8a041f Compare January 26, 2025 22:48
@martintomazic martintomazic changed the title go: Fix make lint command Bump golangci-lint to 1.62.2 Jan 26, 2025
@martintomazic martintomazic force-pushed the martin/trivial/fix/make-lint branch from b8a041f to 3973c3a Compare January 26, 2025 23:05
@martintomazic martintomazic changed the title Bump golangci-lint to 1.62.2 Bump golangci-lint to 1.63.4 Jan 26, 2025
@martintomazic martintomazic force-pushed the martin/trivial/fix/make-lint branch from 3973c3a to a70a646 Compare January 26, 2025 23:06
Copy link
Contributor

@peternose peternose left a comment

Choose a reason for hiding this comment

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

Looks good. Could also update the code to use the newly added functions max, min, .., but that is optional.

go/consensus/cometbft/api/genesis.go Outdated Show resolved Hide resolved
go/oasis-node/cmd/stake/delegations.go Outdated Show resolved Hide resolved
go/oasis-test-runner/cmd/cmp/cmp.go Outdated Show resolved Hide resolved
go/oasis-test-runner/cmd/cmp/cmp.go Outdated Show resolved Hide resolved
@martintomazic martintomazic force-pushed the martin/trivial/fix/make-lint branch from a70a646 to 87c6072 Compare January 27, 2025 09:19
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 82.97872% with 8 lines in your changes missing coverage. Please review.

Project coverage is 65.12%. Comparing base (6355ca3) to head (87c6072).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
go/p2p/peermgmt/peermgr.go 75.00% 4 Missing ⚠️
go/oasis-node/cmd/stake/delegations.go 0.00% 3 Missing ⚠️
go/runtime/host/tdx/qemu.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #6011       +/-   ##
===========================================
+ Coverage        0   65.12%   +65.12%     
===========================================
  Files           0      631      +631     
  Lines           0    64419    +64419     
===========================================
+ Hits            0    41956    +41956     
- Misses          0    17549    +17549     
- Partials        0     4914     +4914     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martintomazic martintomazic merged commit 60cb98e into master Jan 27, 2025
8 checks passed
@martintomazic martintomazic deleted the martin/trivial/fix/make-lint branch January 27, 2025 10:27
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