fix(deps): update all non-major dependencies #3033
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (57)
library/build.go|33 col 17| SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
library/build.go|418 col 36| SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
library/build.go|421 col 10| SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
library/events.go|19 col 15| SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|20 col 15| SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|21 col 15| SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|22 col 15| SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|23 col 15| SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|29 col 21| SA1019: raw.StringSlice is deprecated: use StringSlice from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
library/events.go|52 col 21| SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|53 col 21| SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|54 col 23| SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|55 col 24| SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|56 col 25| SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|249 col 29| SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|260 col 36| SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|271 col 35| SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|282 col 32| SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/events.go|293 col 33| SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
library/executor.go|22 col 16| SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/executor.go|107 col 34| SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/executor.go|110 col 10| SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret.go|82 col 30| SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/service.go|510 col 51| SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/service.go|538 col 43| SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/executor_test.go|165 col 10| SA1019: pipeline.ContainerSlice is deprecated: use ContainerSlice from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|326 col 14| SA1019: pipeline.Ruleset is deprecated: use Ruleset from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|327 col 10| SA1019: pipeline.Rules is deprecated: use Rules from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|345 col 14| SA1019: pipeline.Ruleset is deprecated: use Ruleset from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|346 col 10| SA1019: pipeline.Rules is deprecated: use Rules from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|366 col 14| SA1019: pipeline.Ruleset is deprecated: use Ruleset from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/secret_test.go|367 col 10| SA1019: pipeline.Rules is deprecated: use Rules from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
library/build.go|10 col 2| SA1019: "github.com/go-vela/types/constants" is deprecated: all constants for Vela have been moved to github.com/go-vela/server/constants. (staticcheck)
library/build.go|11 col 2| SA1019: "github.com/go-vela/types/raw" is deprecated: all raw types for Vela have been moved to github.com/go-vela/server/compiler/types/raw . (staticcheck)
library/deployment.go|8 col 2| SA1019: "github.com/go-vela/types/raw" is deprecated: all raw types for Vela have been moved to github.com/go-vela/server/compiler/types/raw . (staticcheck)
library/events.go|9 col 2| SA1019: "github.com/go-vela/types/constants" is deprecated: all constants for Vela have been moved to github.com/go-vela/server/constants. (staticcheck)
library/events.go|10 col 2| SA1019: "github.com/go-vela/types/library/actions" is deprecated: all event action types for Vela have been moved to github.com/go-vela/server/api/types/actions . (staticcheck)
library/events.go|11 col 2| SA1019: "github.com/go-vela/types/raw" is deprecated: all raw types for Vela have been moved to github.com/go-vela/server/compiler/types/raw . (staticcheck)
library/executor.go|9 col 2| SA1019: "github.com/go-vela/types/pipeline" is deprecated: all pipeline types for Vela have been moved to github.com/go-vela/server/compiler/types/pipeline . (staticcheck)
library/log.go|9 col 2| SA1019: "github.com/go-vela/types/constants" is deprecated: all constants for Vela have been moved to github.com/go-vela/server/constants. (staticcheck)
library/secret.go|10 col 2| SA1019: "github.com/go-vela/types/pipeline" is deprecated: all pipeline types for Vela have been moved to github.com/go-vela/server/compiler/types/pipeline . (staticcheck)
library/service.go|11 col 2| SA1019: "github.com/go-vela/types/pipeline" is deprecated: all pipeline types for Vela have been moved to github.com/go-vela/server/compiler/types/pipeline . (staticcheck)
library/events_test.go|12 col 2| SA1019: "github.com/go-vela/types/library/actions" is deprecated: all event action types for Vela have been moved to github.com/go-vela/server/api/types/actions . (staticcheck)
library/secret_test.go|14 col 2| SA1019: "github.com/go-vela/types/library/actions" is deprecated: all event action types for Vela have been moved to github.com/go-vela/server/api/types/actions . (staticcheck)
yaml/build.go|26 col 38| SA1019: library.Pipeline is deprecated: use Pipeline from github.com/go-vela/server/api/types instead. (staticcheck)
yaml/build.go|27 col 18| SA1019: library.Pipeline is deprecated: use Pipeline from github.com/go-vela/server/api/types instead. (staticcheck)
yaml/metadata.go|35 col 34| SA1019: pipeline.Metadata is deprecated: use Metadata from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
yaml/metadata.go|43 col 20| SA1019: pipeline.CancelOptions is deprecated: use CancelOptions from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
yaml/metadata.go|67 col 10| SA1019: pipeline.Metadata is deprecated: use Metadata from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
yaml/ruleset.go|133 col 12| SA1019: raw.StringSlice is deprecated: use StringSlice from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
yaml/stage.go|95 col 5| return statements should not be cuddled if block has more than two lines (wsl)
yaml/stage.go|101 col 2| return statements should not be cuddled if block has more than two lines (wsl)
database/build.go|366 col 44| G115: integer overflow conversion int -> int32 (gosec)
database/build.go|367 col 44| G115: integer overflow conversion int -> int32 (gosec)
database/hook.go|202 col 42| G115: integer overflow conversion int -> int32 (gosec)
pipeline/ruleset.go|136 col 1| cyclomatic complexity 31 of func (*Rules).Match
is high (> 30) (gocyclo)
database/build.go|100 col 1| directive //nolint:gocyclo,funlen // ignore cyclomatic complexity due to number of fields
is unused for linter "funlen" (nolintlint)
Filtered Findings (0)
Annotations
Check failure on line 33 in library/build.go
github-actions / golangci
[golangci] library/build.go#L33
SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
Raw output
library/build.go:33:17: SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
DeployPayload *raw.StringSliceMap `json:"deploy_payload,omitempty"`
^
Check failure on line 418 in library/build.go
github-actions / golangci
[golangci] library/build.go#L418
SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
Raw output
library/build.go:418:36: SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
func (b *Build) GetDeployPayload() raw.StringSliceMap {
^
Check failure on line 421 in library/build.go
github-actions / golangci
[golangci] library/build.go#L421
SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
Raw output
library/build.go:421:10: SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
return raw.StringSliceMap{}
^
Check failure on line 19 in library/events.go
github-actions / golangci
[golangci] library/events.go#L19
SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:19:15: SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Push *actions.Push `json:"push"`
^
Check failure on line 20 in library/events.go
github-actions / golangci
[golangci] library/events.go#L20
SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:20:15: SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
PullRequest *actions.Pull `json:"pull_request"`
^
Check failure on line 21 in library/events.go
github-actions / golangci
[golangci] library/events.go#L21
SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:21:15: SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Deployment *actions.Deploy `json:"deployment"`
^
Check failure on line 22 in library/events.go
github-actions / golangci
[golangci] library/events.go#L22
SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:22:15: SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Comment *actions.Comment `json:"comment"`
^
Check failure on line 23 in library/events.go
github-actions / golangci
[golangci] library/events.go#L23
SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:23:15: SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Schedule *actions.Schedule `json:"schedule"`
^
Check failure on line 29 in library/events.go
github-actions / golangci
[golangci] library/events.go#L29
SA1019: raw.StringSlice is deprecated: use StringSlice from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
Raw output
library/events.go:29:21: SA1019: raw.StringSlice is deprecated: use StringSlice from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
stringSlice := new(raw.StringSlice)
^
Check failure on line 52 in library/events.go
github-actions / golangci
[golangci] library/events.go#L52
SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:52:21: SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
pushActions := new(actions.Push).FromMask(mask)
^
Check failure on line 53 in library/events.go
github-actions / golangci
[golangci] library/events.go#L53
SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:53:21: SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
pullActions := new(actions.Pull).FromMask(mask)
^
Check failure on line 54 in library/events.go
github-actions / golangci
[golangci] library/events.go#L54
SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:54:23: SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
deployActions := new(actions.Deploy).FromMask(mask)
^
Check failure on line 55 in library/events.go
github-actions / golangci
[golangci] library/events.go#L55
SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:55:24: SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
commentActions := new(actions.Comment).FromMask(mask)
^
Check failure on line 56 in library/events.go
github-actions / golangci
[golangci] library/events.go#L56
SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:56:25: SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
scheduleActions := new(actions.Schedule).FromMask(mask)
^
Check failure on line 249 in library/events.go
github-actions / golangci
[golangci] library/events.go#L249
SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:249:29: SA1019: actions.Push is deprecated: use Push from github.com/go-vela/server/api/types/actions instead. (staticcheck)
func (e *Events) GetPush() *actions.Push {
^
Check failure on line 260 in library/events.go
github-actions / golangci
[golangci] library/events.go#L260
SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:260:36: SA1019: actions.Pull is deprecated: use Pull from github.com/go-vela/server/api/types/actions instead. (staticcheck)
func (e *Events) GetPullRequest() *actions.Pull {
^
Check failure on line 271 in library/events.go
github-actions / golangci
[golangci] library/events.go#L271
SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:271:35: SA1019: actions.Deploy is deprecated: use Deploy from github.com/go-vela/server/api/types/actions instead. (staticcheck)
func (e *Events) GetDeployment() *actions.Deploy {
^
Check failure on line 282 in library/events.go
github-actions / golangci
[golangci] library/events.go#L282
SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:282:32: SA1019: actions.Comment is deprecated: use Comment from github.com/go-vela/server/api/types/actions instead. (staticcheck)
func (e *Events) GetComment() *actions.Comment {
^
Check failure on line 293 in library/events.go
github-actions / golangci
[golangci] library/events.go#L293
SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
Raw output
library/events.go:293:33: SA1019: actions.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types/actions instead. (staticcheck)
func (e *Events) GetSchedule() *actions.Schedule {
^
Check failure on line 22 in library/executor.go
github-actions / golangci
[golangci] library/executor.go#L22
SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/executor.go:22:16: SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Pipeline *pipeline.Build `json:"pipeline,omitempty"`
^
Check failure on line 107 in library/executor.go
github-actions / golangci
[golangci] library/executor.go#L107
SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/executor.go:107:34: SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
func (e *Executor) GetPipeline() pipeline.Build {
^
Check failure on line 110 in library/executor.go
github-actions / golangci
[golangci] library/executor.go#L110
SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/executor.go:110:10: SA1019: pipeline.Build is deprecated: use Build from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
return pipeline.Build{}
^
Check failure on line 82 in library/secret.go
github-actions / golangci
[golangci] library/secret.go#L82
SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/secret.go:82:30: SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
func (s *Secret) Match(from *pipeline.Container) bool {
^
Check failure on line 510 in library/service.go
github-actions / golangci
[golangci] library/service.go#L510
SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/service.go:510:51: SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
func ServiceFromBuildContainer(build *Build, ctn *pipeline.Container) *Service {
^
Check failure on line 538 in library/service.go
github-actions / golangci
[golangci] library/service.go#L538
SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
Raw output
library/service.go:538:43: SA1019: pipeline.Container is deprecated: use Container from github.com/go-vela/server/compiler/types/pipeline instead. (staticcheck)
func ServiceFromContainerEnvironment(ctn *pipeline.Container) *Service {
^