Skip to content

Commit

Permalink
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.…
Browse files Browse the repository at this point in the history
…0.4 (golangci#2907)

* build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4

Bumps [github.com/kunwardeep/paralleltest](https://github.com/kunwardeep/paralleltest) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/kunwardeep/paralleltest/releases)
- [Commits](kunwardeep/paralleltest@v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/kunwardeep/paralleltest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: linter

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
  • Loading branch information
2 people authored and SeigeC committed Apr 4, 2023
1 parent 19841fe commit 3d2d5b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -49,7 +49,7 @@ require (
github.com/julz/importas v0.1.0
github.com/kisielk/errcheck v1.6.1
github.com/kulti/thelper v0.6.3
github.com/kunwardeep/paralleltest v1.0.3
github.com/kunwardeep/paralleltest v1.0.4
github.com/kyoh86/exportloopref v0.1.8
github.com/ldez/gomoddirectives v0.2.3
github.com/ldez/tagliatelle v0.3.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/golinters/paralleltest.go
Expand Up @@ -13,5 +13,5 @@ func NewParallelTest() *goanalysis.Linter {
"paralleltest detects missing usage of t.Parallel() method in your Go test",
[]*analysis.Analyzer{paralleltest.NewAnalyzer()},
nil,
).WithLoadMode(goanalysis.LoadModeSyntax)
).WithLoadMode(goanalysis.LoadModeTypesInfo)
}
1 change: 1 addition & 0 deletions pkg/lint/lintersdb/manager.go
Expand Up @@ -616,6 +616,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {

linter.NewConfig(golinters.NewParallelTest()).
WithSince("v1.33.0").
WithLoadForGoAnalysis().
WithPresets(linter.PresetStyle, linter.PresetTest).
WithURL("https://github.com/kunwardeep/paralleltest"),

Expand Down

0 comments on commit 3d2d5b2

Please sign in to comment.