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 (#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] <[email protected]>

* fix: linter

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Jun 6, 2022
1 parent 92d7022 commit 6a412d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 6a412d3

Please sign in to comment.