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 mvdan.cc/gofumpt from 0.6.0 to 0.7.0 in /tools/gofumpt #1075

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps mvdan.cc/gofumpt from 0.6.0 to 0.7.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.7.0

This release is based on Go 1.23.0's gofmt, and requires Go 1.22 or later.

The following changes are included:

  • Group internal/... imported packages as standard library - #307

Binaries built on go version go1.23.0 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v0.7.0"

Consider becoming a sponsor if you benefit from the work that went into this release!

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.7.0] - 2024-08-16

This release is based on Go 1.23.0's gofmt, and requires Go 1.22 or later.

The following changes are included:

  • Group internal/... imported packages as standard library - #307
Commits
  • 86bffd6 CI: drop Go 1.21, add Go 1.23
  • 45e806f add release notes for v0.7.0
  • 1e52eb3 internal/govendor: re-generate with go1.23.0
  • 038012a update published gofumpt versions in tests
  • 88a300b require Go 1.22 and use go/version for Options.LangVersion
  • 41a9946 format: start using go/token.File.Lines
  • 5aa7546 group internal/... import paths as standard library
  • 52739c5 swap frankban/quicktest for go-quicktest/qt
  • 7ccdb87 re-generate to vendor from Go 1.22.0
  • b2260fd drop Go 1.20, test on Go 1.22
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from prymitive as a code owner August 19, 2024 19:53
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 19, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request was validated by pint.

✔️ No problems found

Stats

Stat Value
Version v0.64.0-29-gef39eac
Number of rules parsed 4
Number of rules checked 0
Number of problems found 0
Number of offline checks 0
Number of online checks 0
Checks duration 0

Problems

No problems reported

Copy link

Benchmark diff:

goos: linux
goarch: amd64
pkg: github.com/cloudflare/pint/cmd/pint
cpu: AMD EPYC 7763 64-Core Processor                
              │   old.txt   │              new.txt               │
              │   sec/op    │   sec/op     vs base               │
FindEntries-4   39.50m ± 1%   39.76m ± 3%       ~ (p=0.123 n=10)
CheckRules-4     8.521 ± 2%    8.516 ± 2%       ~ (p=1.000 n=10)
geomean         580.1m        581.9m       +0.30%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   27.41Mi ± 0%   27.41Mi ± 0%       ~ (p=0.353 n=10)
CheckRules-4    978.6Mi ± 0%   977.3Mi ± 0%  -0.13% (p=0.035 n=10)
geomean         163.8Mi        163.7Mi       -0.06%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   131.9k ± 0%   131.9k ± 0%       ~ (p=0.424 n=10)
CheckRules-4    14.19M ± 0%   14.18M ± 0%  -0.06% (p=0.005 n=10)
geomean         1.368M        1.367M       -0.03%

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.78%. Comparing base (1786c76) to head (ef39eac).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1075   +/-   ##
=======================================
  Coverage   94.78%   94.78%           
=======================================
  Files          99       99           
  Lines       10004    10004           
=======================================
  Hits         9482     9482           
  Misses        366      366           
  Partials      156      156           

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

@prymitive prymitive merged commit afc1fbf into main Aug 20, 2024
19 checks passed
@prymitive prymitive deleted the dependabot/go_modules/tools/gofumpt/mvdan.cc/gofumpt-0.7.0 branch August 20, 2024 10:22
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants