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

🌱 Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.1 in /tools #2660

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2023

Bumps github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.1.

Release notes

Sourced from github.com/onsi/ginkgo/v2's releases.

v2.8.1

2.8.1

Fixes

  • lock around default report output to avoid triggering the race detector when calling By from goroutines [2d5075a]
  • don't run ReportEntries through sprintf [febbe38]

Maintenance

  • Bump golang.org/x/tools from 0.5.0 to 0.6.0 (#1135) [11a4860]
  • test: update matrix for Go 1.20 (#1130) [4890a62]
  • Bump golang.org/x/sys from 0.4.0 to 0.5.0 (#1133) [a774638]
  • Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#1120) [3f233bd]
  • Bump github-pages from 227 to 228 in /docs (#1131) [f9b8649]
  • Bump activesupport from 6.0.6 to 6.0.6.1 in /docs (#1127) [6f8c042]
  • Update index.md with instructions on how to upgrade Ginkgo [833a75e]

v2.8.0

2.8.0

Features

  • Introduce GinkgoHelper() to track and exclude helper functions from potential CodeLocations [e19f556]

Modeled after testing.T.Helper(). Now, rather than write code like:

func helper(model Model) {
    Expect(model).WithOffset(1).To(BeValid())
    Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
}

you can stop tracking offsets (which makes nesting composing helpers nearly impossible) and simply write:

func helper(model Model) {
    GinkgoHelper()
    Expect(model).To(BeValid())
    Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
}
  • Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make it possible to programmatically match filters (fixes #1119) [2f6597c]

You can now write code like this:

BeforeSuite(func() {
	if Label("slow").MatchesLabelFilter(GinkgoLabelFilter()) {
		// do slow setup
</tr></table> 

... (truncated)

Changelog

Sourced from github.com/onsi/ginkgo/v2's changelog.

2.8.1

Fixes

  • lock around default report output to avoid triggering the race detector when calling By from goroutines [2d5075a]
  • don't run ReportEntries through sprintf [febbe38]

Maintenance

  • Bump golang.org/x/tools from 0.5.0 to 0.6.0 (#1135) [11a4860]
  • test: update matrix for Go 1.20 (#1130) [4890a62]
  • Bump golang.org/x/sys from 0.4.0 to 0.5.0 (#1133) [a774638]
  • Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#1120) [3f233bd]
  • Bump github-pages from 227 to 228 in /docs (#1131) [f9b8649]
  • Bump activesupport from 6.0.6 to 6.0.6.1 in /docs (#1127) [6f8c042]
  • Update index.md with instructions on how to upgrade Ginkgo [833a75e]

2.8.0

Features

  • Introduce GinkgoHelper() to track and exclude helper functions from potential CodeLocations [e19f556]

Modeled after testing.T.Helper(). Now, rather than write code like:

func helper(model Model) {
    Expect(model).WithOffset(1).To(BeValid())
    Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
}

you can stop tracking offsets (which makes nesting composing helpers nearly impossible) and simply write:

func helper(model Model) {
    GinkgoHelper()
    Expect(model).To(BeValid())
    Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
}
  • Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make it possible to programmatically match filters (fixes #1119) [2f6597c]

You can now write code like this:

BeforeSuite(func() {
	if Label("slow").MatchesLabelFilter(GinkgoLabelFilter()) {
		// do slow setup
	}
</tr></table>

... (truncated)

Commits
  • c7e3ebe v2.8.1
  • 2d5075a lock around default report output to avoid triggering the race detector when ...
  • febbe38 don't run ReportEntries through sprintf
  • 11a4860 Bump golang.org/x/tools from 0.5.0 to 0.6.0 (#1135)
  • 4890a62 test: update matrix for Go 1.20 (#1130)
  • a774638 Bump golang.org/x/sys from 0.4.0 to 0.5.0 (#1133)
  • 3f233bd Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#1120)
  • f9b8649 Bump github-pages from 227 to 228 in /docs (#1131)
  • 6f8c042 Bump activesupport from 6.0.6 to 6.0.6.1 in /docs (#1127)
  • 833a75e Update index.md with instructions on how to upgrade Ginkgo
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 14, 2023
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #2660 (32272a4) into main (559b71b) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2660   +/-   ##
=======================================
  Coverage   41.27%   41.27%           
=======================================
  Files         123      123           
  Lines       10043    10043           
=======================================
  Hits         4145     4145           
  Misses       5602     5602           
  Partials      296      296           

@dependabot dependabot bot force-pushed the dependabot/go_modules/tools/github.com/onsi/ginkgo/v2-2.8.1 branch from cea36ed to 0deb33c Compare February 16, 2023 09:01
@dependabot dependabot bot temporarily deployed to integration-test February 16, 2023 09:01 Inactive
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.7.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@naveensrinivasan naveensrinivasan force-pushed the dependabot/go_modules/tools/github.com/onsi/ginkgo/v2-2.8.1 branch from 0deb33c to 32272a4 Compare February 16, 2023 15:56
@naveensrinivasan naveensrinivasan enabled auto-merge (squash) February 16, 2023 15:56
@naveensrinivasan naveensrinivasan temporarily deployed to integration-test February 16, 2023 15:57 — with GitHub Actions Inactive
@naveensrinivasan naveensrinivasan merged commit 603cd92 into main Feb 16, 2023
@naveensrinivasan naveensrinivasan deleted the dependabot/go_modules/tools/github.com/onsi/ginkgo/v2-2.8.1 branch February 16, 2023 16:06
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
…2660)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.7.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Shofiya2003 <[email protected]>
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
…2660)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.7.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Shofiya2003 <[email protected]>
raghavkaul pushed a commit to raghavkaul/scorecard that referenced this pull request Apr 4, 2023
…2660)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.7.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant