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

fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 #10935

Merged
merged 4 commits into from
Oct 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 20, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golangci/golangci-lint v1.60.1 -> v1.61.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint)

v1.61.0

Compare Source

  1. Enhancements
    • Add junit-xml-extended format
    • Exclude Swagger Codegen files by default
  2. Updated linters
    • dupword: from 0.0.14 to 0.1.1
    • fatcontext: from 0.4.0 to 0.5.2
    • gci: from 0.13.4 to 0.13.5 (new option no-lex-order)
    • go-ruleguard: from 0.4.2 to 0fe6f58 (fix panic with custom linters)
    • godot: from 1.4.16 to 1.4.17
    • gomodguard: from 1.3.3 to 1.3.5
    • gosec: disable temporarily G407
    • gosec: from ab3f6c1 to 2.21.2 (partially fix G115)
    • intrange: from 0.1.2 to 0.2.0
    • nolintlint: remove the empty line in the directive replacement
  3. Misc.
    • Improve runtime version parsing
  4. Documentation
    • Add additional info about typecheck

v1.60.3

Compare Source

v1.60.2

Compare Source


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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 renovate bot added the dependencies Pull requests that update a dependency file label Aug 20, 2024
@renovate renovate bot requested a review from a team August 20, 2024 20:59
@renovate renovate bot added the renovatebot label Aug 20, 2024
@renovate renovate bot requested a review from codeboten August 20, 2024 20:59
Copy link
Contributor Author

renovate bot commented Aug 20, 2024

ℹ Artifact update notice

File name: internal/tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 17 additional dependencies were updated

Details:

Package Change
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 -> v0.0.0-20240904232852-e7e105dedf7e
github.com/Abirdcfly/dupword v0.0.14 -> v0.1.1
github.com/Crocmagnon/fatcontext v0.4.0 -> v0.5.2
github.com/Masterminds/semver/v3 v3.2.1 -> v3.3.0
github.com/ckaznocha/intrange v0.1.2 -> v0.2.0
github.com/daixiang0/gci v0.13.4 -> v0.13.5
github.com/go-viper/mapstructure/v2 v2.0.0 -> v2.1.0
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e -> v0.0.0-20240816233607-d8596aa466a9
github.com/pelletier/go-toml/v2 v2.2.2 -> v2.2.3
github.com/quasilyte/go-ruleguard v0.4.2 -> v0.4.3-0.20240823090925-0fe6f58b47b1
github.com/ryancurrah/gomodguard v1.3.3 -> v1.3.5
github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9 -> v2.21.2
github.com/tetafro/godot v1.4.16 -> v1.4.17
github.com/tomarrell/wrapcheck/v2 v2.8.3 -> v2.9.0
google.golang.org/protobuf v1.33.0 -> v1.34.2
honnef.co/go/tools v0.5.0 -> v0.5.1
mvdan.cc/gofumpt v0.6.0 -> v0.7.0

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.15%. Comparing base (35d4156) to head (1e41bf6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10935   +/-   ##
=======================================
  Coverage   92.14%   92.15%           
=======================================
  Files         432      432           
  Lines       20296    20255   -41     
=======================================
- Hits        18702    18666   -36     
+ Misses       1231     1228    -3     
+ Partials      363      361    -2     

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

@codeboten
Copy link
Contributor

This needed an update of PtrTo -> PointerTo. Addressed the following warning as well:

WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar. 

@codeboten
Copy link
Contributor

There's still a linter failure, will address it in a separate issue/PR

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added Stale and removed Stale labels Sep 13, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 3, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.60.2 fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 Oct 12, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from f522a82 to b6f6f73 Compare October 12, 2024 19:19
@renovate renovate bot requested a review from a team as a code owner October 12, 2024 19:19
@renovate renovate bot requested a review from mx-psi October 12, 2024 19:19
@bogdandrutu bogdandrutu reopened this Oct 12, 2024
Fix lots of tests, for non-tests add nolint annotations when fix not
trivial.

Signed-off-by: Bogdan Drutu <[email protected]>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

Signed-off-by: Bogdan Drutu <[email protected]>
@bogdandrutu bogdandrutu merged commit 49f657f into main Oct 12, 2024
48 checks passed
@bogdandrutu bogdandrutu deleted the renovate/github.com-golangci-golangci-lint-1.x branch October 12, 2024 23:13
@github-actions github-actions bot added this to the next release milestone Oct 12, 2024
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 renovatebot Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants