Skip to content

chore: deprecate types #2966

chore: deprecate types

chore: deprecate types #2966

Triggered via push October 25, 2024 18:41
Status Success
Total duration 45s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

56 errors
[golangci] pipeline/ruleset.go#L136: pipeline/ruleset.go#L136
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
[golangci] database/build.go#L366: database/build.go#L366
G115: integer overflow conversion int -> int32 (gosec)
[golangci] database/build.go#L367: database/build.go#L367
G115: integer overflow conversion int -> int32 (gosec)
[golangci] database/hook.go#L202: database/hook.go#L202
G115: integer overflow conversion int -> int32 (gosec)
[golangci] item.go#L19: item.go#L19
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item.go#L20: item.go#L20
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item.go#L21: item.go#L21
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item.go#L27: item.go#L27
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] webhook.go#L33: webhook.go#L33
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] webhook.go#L34: webhook.go#L34
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] webhook.go#L35: webhook.go#L35
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] webhook.go#L37: webhook.go#L37
SA1019: library.Deployment is deprecated: use Deployment from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item_test.go#L18: item_test.go#L18
SA1019: library.Events is deprecated: use Events from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item_test.go#L44: item_test.go#L44
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item_test.go#L60: item_test.go#L60
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item_test.go#L108: item_test.go#L108
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] item.go#L6: item.go#L6
SA1019: "github.com/go-vela/types/library" is deprecated: all library types for Vela have been moved to github.com/go-vela/server/api/types . (staticcheck)
[golangci] webhook.go#L8: webhook.go#L8
SA1019: "github.com/go-vela/types/constants" is deprecated: all constants for Vela have been moved to github.com/go-vela/server/constants. (staticcheck)
[golangci] webhook.go#L9: webhook.go#L9
SA1019: "github.com/go-vela/types/library" is deprecated: all library types for Vela have been moved to github.com/go-vela/server/api/types . (staticcheck)
[golangci] item_test.go#L9: item_test.go#L9
SA1019: "github.com/go-vela/types/library" is deprecated: all library types for Vela have been moved to github.com/go-vela/server/api/types . (staticcheck)
[golangci] webhook_test.go#L8: webhook_test.go#L8
SA1019: "github.com/go-vela/types/constants" is deprecated: all constants for Vela have been moved to github.com/go-vela/server/constants. (staticcheck)
[golangci] database/build.go#L51: database/build.go#L51
SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
[golangci] database/build_executable.go#L136: database/build_executable.go#L136
SA1019: library.BuildExecutable is deprecated: use BuildExecutable from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/build_executable.go#L137: database/build_executable.go#L137
SA1019: library.BuildExecutable is deprecated: use BuildExecutable from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/build_executable.go#L159: database/build_executable.go#L159
SA1019: library.BuildExecutable is deprecated: use BuildExecutable from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/build_queue.go#L23: database/build_queue.go#L23
SA1019: library.BuildQueue is deprecated: use QueueBuild from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/build_queue.go#L24: database/build_queue.go#L24
SA1019: library.BuildQueue is deprecated: use QueueBuild from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/build_queue.go#L36: database/build_queue.go#L36
SA1019: library.BuildQueue is deprecated: use QueueBuild from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/deployment.go#L40: database/deployment.go#L40
SA1019: raw.StringSliceMap is deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead. (staticcheck)
[golangci] database/deployment.go#L118: database/deployment.go#L118
SA1019: library.Deployment is deprecated: use Deployment from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/deployment.go#L180: database/deployment.go#L180
SA1019: library.Deployment is deprecated: use Deployment from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/hook.go#L136: database/hook.go#L136
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/hook.go#L137: database/hook.go#L137
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/log.go#L113: database/log.go#L113
SA1019: library.Log is deprecated: use Log from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/log.go#L114: database/log.go#L114
SA1019: library.Log is deprecated: use Log from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/log.go#L149: database/log.go#L149
SA1019: library.Log is deprecated: use Log from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/pipeline.go#L145: database/pipeline.go#L145
SA1019: library.Pipeline is deprecated: use Pipeline from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/pipeline.go#L146: database/pipeline.go#L146
SA1019: library.Pipeline is deprecated: use Pipeline from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/pipeline.go#L210: database/pipeline.go#L210
SA1019: library.Pipeline is deprecated: use Pipeline from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/schedule.go#L46: database/schedule.go#L46
SA1019: library.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/schedule.go#L100: database/schedule.go#L100
SA1019: library.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/schedule.go#L101: database/schedule.go#L101
SA1019: library.Schedule is deprecated: use Schedule from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/secret.go#L187: database/secret.go#L187
SA1019: library.Secret is deprecated: use Secret from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/secret.go#L188: database/secret.go#L188
SA1019: library.Secret is deprecated: use Secret from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/secret.go#L269: database/secret.go#L269
SA1019: library.Secret is deprecated: use Secret from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/service.go#L146: database/service.go#L146
SA1019: library.Service is deprecated: use Service from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/service.go#L147: database/service.go#L147
SA1019: library.Service is deprecated: use Service from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/service.go#L212: database/service.go#L212
SA1019: library.Service is deprecated: use Service from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/step.go#L158: database/step.go#L158
SA1019: library.Step is deprecated: use Step from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/step.go#L159: database/step.go#L159
SA1019: library.Step is deprecated: use Step from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/step.go#L228: database/step.go#L228
SA1019: library.Step is deprecated: use Step from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/worker.go#L107: database/worker.go#L107
SA1019: library.Worker is deprecated: use Worker from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/worker.go#L108: database/worker.go#L108
SA1019: library.Worker is deprecated: use Worker from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] database/worker.go#L169: database/worker.go#L169
SA1019: library.Worker is deprecated: use Worker from github.com/go-vela/server/api/types instead. (staticcheck)
[golangci] yaml/stage.go#L95: yaml/stage.go#L95
return statements should not be cuddled if block has more than two lines (wsl)
[golangci] yaml/stage.go#L101: yaml/stage.go#L101
return statements should not be cuddled if block has more than two lines (wsl)