Skip to content

fix: deprecate Deployment library type #1167

fix: deprecate Deployment library type

fix: deprecate Deployment library type #1167

Triggered via pull request December 13, 2024 20:27
Status Success
Total duration 50s
Artifacts

reviewdog.yml

on: pull_request
diff-review
33s
diff-review
full-review
40s
full-review
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
diff-review: pipeline/ruleset.go#L136
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
diff-review: database/build.go#L366
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/build.go#L367
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/hook.go#L202
G115: integer overflow conversion int -> int32 (gosec)
diff-review: item.go#L19
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L20
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L21
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L27
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: webhook.go#L33
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: webhook.go#L34
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: pipeline/ruleset.go#L136
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
full-review: database/build.go#L366
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/build.go#L367
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/hook.go#L202
G115: integer overflow conversion int -> int32 (gosec)
full-review: item.go#L19
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L20
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L21
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L27
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: webhook.go#L33
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: webhook.go#L34
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
full-review
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636