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/mgechev/revive from 1.2.5 to 1.3.2 in /tools #1289

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps github.com/mgechev/revive from 1.2.5 to 1.3.2.

Release notes

Sourced from github.com/mgechev/revive's releases.

v1.3.2

Changelog

  • cd336fc Fix invalid toml in rule.add-constant example (#819)
  • ed6d9ce Fix prefix trimming in struct-tag (#827)
  • 6d5bc51 Move away from deprecated ioutils (#825)
  • 5558566 Prevent empty-block when looping over call expr
  • e20c778 add nolint to default list of acceptable comments for comment-spacings (#822)
  • 81d85b5 fix #824 (#829)
  • dc6909b fix tests not passing after the modif of the default rules list (#817)
  • b508fa8 fix(deps): update module golang.org/x/tools to v0.9.1 (#811)
  • 022236f fix: error message typo in revivelib.New

v1.3.1

Changelog

  • b03e54f empty-block: Fix false positive on select {} (#805)

v1.3.0

Changelog

Commits
  • 81d85b5 fix #824 (#829)
  • ed6d9ce Fix prefix trimming in struct-tag (#827)
  • 6d5bc51 Move away from deprecated ioutils (#825)
  • b508fa8 fix(deps): update module golang.org/x/tools to v0.9.1 (#811)
  • cd336fc Fix invalid toml in rule.add-constant example (#819)
  • e20c778 add nolint to default list of acceptable comments for comment-spacings (#822)
  • 022236f fix: error message typo in revivelib.New
  • 5558566 Prevent empty-block when looping over call expr
  • dc6909b fix tests not passing after the modif of the default rules list (#817)
  • b03e54f empty-block: Fix false positive on select {} (#805)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 22, 2023
@CLAassistant
Copy link

CLAassistant commented May 22, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #1289 (371bb9f) into master (555e005) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1289      +/-   ##
==========================================
- Coverage   98.09%   97.93%   -0.16%     
==========================================
  Files          50       50              
  Lines        3249     3249              
==========================================
- Hits         3187     3182       -5     
- Misses         53       57       +4     
- Partials        9       10       +1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sywhang
Copy link
Contributor

sywhang commented Aug 2, 2023

@dependabot rebase

Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.2.5 to 1.3.2.
- [Release notes](https://github.com/mgechev/revive/releases)
- [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml)
- [Commits](mgechev/revive@v1.2.5...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/mgechev/revive
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/tools/github.com/mgechev/revive-1.3.2 branch from 67b3199 to 371bb9f Compare August 2, 2023 17:54
abhinav added a commit that referenced this pull request Aug 18, 2023
Zap has been maintaining its own bespoke linter setup for a while
and it's starting to show its age.
For example, the upgrade in #1289 can't go through
without either making a change which we disagree with,
or configuring revive separately to ignore that linter check.

This PR switches to using golangci-lint to run linters.
staticcheck is included and enabled by default.
For revive, this adds the relevant opt-outs with adequate justification.

It also enables a couple govet linter checks
that would otherwise be difficult to enable.

The result also simplifies our Makefile greatly
with the minor added complexity that it assumes golangci-lint
is already installed.

Another advantage of this setup is that lint runs in a separate parallel
CI job
while the tests are doing their thing.
@abhinav
Copy link
Collaborator

abhinav commented Aug 18, 2023

@dependabot rebase

@abhinav
Copy link
Collaborator

abhinav commented Aug 18, 2023

(Superseded by #1323. dependabot will close.)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 18, 2023

Looks like github.com/mgechev/revive is no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this Aug 18, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/tools/github.com/mgechev/revive-1.3.2 branch August 18, 2023 19:28
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 go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

3 participants