cloudflare / pint

Prometheus rule linter/validator
https://cloudflare.github.io/pint/
Apache License 2.0
880 stars 53 forks source link

build(deps): bump mvdan.cc/gofumpt from 0.6.0 to 0.7.0 in /tools/gofumpt #1075

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

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 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)
github-actions[bot] commented 3 months ago

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 commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.