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

build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 #3089

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2022

Bumps github.com/go-critic/go-critic from 0.6.3 to 0.6.4.

Release notes

Sourced from github.com/go-critic/go-critic's releases.

v0.6.4

A special thanks goes to @​mcdoker18, @​cristaloleg and @​peakle + everyone who helps to keep this project afloat.

Commits
  • d9c2d89 update ruleguard to 0.3.17 (#1249)
  • dfd27d0 checkers: use ctx.SizeOf instead of SizesInfo.SizeOf (#1247)
  • f1528e1 checkers: supported generics for typeDefFirst and paramTypeCombine (#1239)
  • af0e6d7 checkers: don't call SizeOf for type parameters (#1237)
  • 8df9d7e checkers: turn init() for embedded rules into exported func (#1246)
  • 1d7d822 ci: add Go 1.18 (#1240)
  • 4f19cad deps: bump github.com/cristalhq/acmd from 0.5.7 to 0.7.0 (#1236)
  • 7cb5c45 deps: bump toolmantim/release-drafter from 5.2.0 to 5.20.0 (#1231)
  • ed6b4df deps: bump actions/setup-go from 1 to 3 (#1228)
  • 7c630aa deps: bump actions/checkout from 1 to 3 (#1229)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Related to #3107

@dependabot dependabot bot added dependencies Relates to an upstream dependency go Pull requests that update Go code labels Aug 11, 2022
@ldez ldez self-requested a review August 12, 2022 00:01
@ldez ldez self-assigned this Aug 12, 2022
@ldez ldez added the blocked Need's direct action from maintainer label Aug 12, 2022
@ldez ldez mentioned this pull request Aug 12, 2022
13 tasks
@quasilyte
Copy link
Contributor

The failure due to the embedded rules that were moved to checkers.InitEmbeddedRules().
If it's not called, embedded rules are not "registered".
My guess is that when we'll add a checkers.InitEmbeddedRules() call when gocritic is enabled, this issue will go away.

@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.6.4 branch from 242138b to 2334ee0 Compare August 12, 2022 09:16
@ldez
Copy link
Member

ldez commented Aug 12, 2022

I will have to rewrite the configuration parsing.

@ldez ldez mentioned this pull request Aug 12, 2022
dependabot bot and others added 3 commits August 14, 2022 16:54
Bumps [github.com/go-critic/go-critic](https://github.com/go-critic/go-critic) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/go-critic/go-critic/releases)
- [Commits](go-critic/go-critic@v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: github.com/go-critic/go-critic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.6.4 branch 3 times, most recently from 5a32c62 to 8f4989d Compare August 14, 2022 15:45
It's only a first step, must be rewrite in the future.
@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.6.4 branch from 8f4989d to 29cc1d9 Compare August 14, 2022 16:01
@ldez ldez merged commit 9da04f5 into master Aug 14, 2022
@ldez ldez deleted the dependabot/go_modules/github.com/go-critic/go-critic-0.6.4 branch August 14, 2022 16:21
@ccoVeille
Copy link

Thank you

@hakankoklu
Copy link

How long do you think it will take for a new version to be released that has this change?

@pierrre
Copy link
Contributor

pierrre commented Aug 24, 2022

Is go-critic supposed to work with a package containing generic code, with golangci-lint v1.49.0 ?
I still get a panic with an "unreachable" message.
I can provide a proper debug log or open an issue if you want.

Yes my GOROOT variable is set.

@ldez
Copy link
Member

ldez commented Aug 24, 2022

@pierrre can you put your feedback in the issue (with the output stack) #3107

@ldez
Copy link
Member

ldez commented Aug 24, 2022

@pierrre maybe you can create a new issue because your problem seems not related to #3107

@ldez ldez removed the blocked Need's direct action from maintainer label Aug 24, 2022
@ldez ldez added the linter: update version Update version of linter label Feb 5, 2023
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
…olangci#3089)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
@ldez ldez added this to the v1.49 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Relates to an upstream dependency go Pull requests that update Go code linter: update version Update version of linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants