build(deps): bump github.com/kunwardeep/paralleltest from 1.0.9 to 1.0.10 (#4394)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
2417da15e7
commit
f4e33e0bf1
2
go.mod
2
go.mod
@ -65,7 +65,7 @@ require (
|
||||
github.com/kisielk/errcheck v1.7.0
|
||||
github.com/kkHAIKE/contextcheck v1.1.4
|
||||
github.com/kulti/thelper v0.6.3
|
||||
github.com/kunwardeep/paralleltest v1.0.9
|
||||
github.com/kunwardeep/paralleltest v1.0.10
|
||||
github.com/kyoh86/exportloopref v0.1.11
|
||||
github.com/ldez/gomoddirectives v0.2.3
|
||||
github.com/ldez/tagliatelle v0.5.0
|
||||
|
4
go.sum
generated
4
go.sum
generated
@ -344,8 +344,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs=
|
||||
github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I=
|
||||
github.com/kunwardeep/paralleltest v1.0.9 h1:3Sr2IfFNcsMmlqPk1cjTUbJ4zofKPGyHxenwPebgTug=
|
||||
github.com/kunwardeep/paralleltest v1.0.9/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY=
|
||||
github.com/kunwardeep/paralleltest v1.0.10 h1:wrodoaKYzS2mdNVnc4/w31YaXFtsc21PCTdvWJ/lDDs=
|
||||
github.com/kunwardeep/paralleltest v1.0.10/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY=
|
||||
github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=
|
||||
github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA=
|
||||
github.com/ldez/gomoddirectives v0.2.3 h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=
|
||||
|
@ -703,6 +703,7 @@ type NoNamedReturnsSettings struct {
|
||||
}
|
||||
|
||||
type ParallelTestSettings struct {
|
||||
Go string `mapstructure:"-"`
|
||||
IgnoreMissing bool `mapstructure:"ignore-missing"`
|
||||
IgnoreMissingSubtests bool `mapstructure:"ignore-missing-subtests"`
|
||||
}
|
||||
|
@ -13,12 +13,16 @@ func NewParallelTest(settings *config.ParallelTestSettings) *goanalysis.Linter {
|
||||
|
||||
var cfg map[string]map[string]any
|
||||
if settings != nil {
|
||||
cfg = map[string]map[string]any{
|
||||
a.Name: {
|
||||
d := map[string]any{
|
||||
"i": settings.IgnoreMissing,
|
||||
"ignoremissingsubtests": settings.IgnoreMissingSubtests,
|
||||
},
|
||||
}
|
||||
|
||||
if config.IsGreaterThanOrEqualGo122(settings.Go) {
|
||||
d["ignoreloopVar"] = true
|
||||
}
|
||||
|
||||
cfg = map[string]map[string]any{a.Name: d}
|
||||
}
|
||||
|
||||
return goanalysis.NewLinter(
|
||||
|
@ -238,6 +238,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
||||
|
||||
govetCfg.Go = m.cfg.Run.Go
|
||||
|
||||
parallelTestCfg.Go = m.cfg.Run.Go
|
||||
|
||||
gocriticCfg.Go = trimGoVersion(m.cfg.Run.Go)
|
||||
|
||||
if gofumptCfg.LangVersion == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user