Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Bump mvdan.cc/gofumpt from 0.5.0 to 0.6.0 in /tools #272

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

Bumps mvdan.cc/gofumpt from 0.5.0 to 0.6.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.6.0

This release is based on Go 1.21's gofmt, and requires Go 1.20 or later.

The following changes are included:

  • Support go version strings from newer go.mod files - #280
  • Consider simple error checks even if they use the = operator - #271
  • Ignore //line directives to avoid panics - #288

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

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

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

#271: mvdan/gofumpt#271 #280: mvdan/gofumpt#280 #288: mvdan/gofumpt#288

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.6.0] - 2024-01-28

This release is based on Go 1.21's gofmt, and requires Go 1.20 or later.

The following changes are included:

  • Support go version strings from newer go.mod files - #280
  • Consider simple error checks even if they use the = operator - #271
  • Ignore //line directives to avoid panics - #288
Commits
  • 636d7a7 add release notes for v0.6.0
  • 37e0463 format: ignore //line directives when computing positions
  • 9e77a5f update deps
  • ddd4dc4 skip gomod.txtar testscript on Go 1.20
  • 5249497 add package godoc
  • 13743a4 format: support Go versions from newer go.mod files
  • 4ac1be2 Update Helix editor config
  • a8415d3 format: add a TODO to remind myself about token.File.Lines
  • 025a91f treat err assignments as a simple error check
  • 9a108c1 add Go 1.21, drop 1.19
  • 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 will merge this PR once CI passes on it, as requested by @recharte.


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)

@dependabot dependabot bot requested a review from recharte as a code owner January 29, 2024 01:30
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 29, 2024
@dependabot dependabot bot added the go Pull requests that update Go code label Jan 29, 2024
@dependabot dependabot bot requested a review from a user January 29, 2024 01:30
@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b16f8a) 5.32% compared to head (602876f) 5.33%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #272   +/-   ##
=====================================
  Coverage   5.32%   5.33%           
=====================================
  Files         13      13           
  Lines       2852    2851    -1     
=====================================
  Hits         152     152           
+ Misses      2673    2672    -1     
  Partials      27      27           

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

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.6.0 branch from ec59824 to 30d9169 Compare February 2, 2024 11:20
@recharte
Copy link
Collaborator

recharte commented Feb 2, 2024

@dependabot squash and merge

@dependabot dependabot bot merged commit 27a7a6d into main Feb 2, 2024
8 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.6.0 branch February 2, 2024 11:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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