Skip to content

chore: re-enable go fix; deprecate library.Hook; bump go #1121

chore: re-enable go fix; deprecate library.Hook; bump go

chore: re-enable go fix; deprecate library.Hook; bump go #1121

Triggered via pull request September 13, 2024 20:00
Status Success
Total duration 49s
Artifacts

reviewdog.yml

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

Annotations

20 errors
full-review: pipeline/ruleset.go#L134
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
full-review: database/build.go#L364
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/build.go#L365
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/hook.go#L200
G115: integer overflow conversion int -> int32 (gosec)
full-review: item.go#L17
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L18
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L19
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: item.go#L25
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: webhook.go#L29
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
full-review: webhook.go#L30
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: pipeline/ruleset.go#L134
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
diff-review: database/build.go#L364
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/build.go#L365
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/hook.go#L200
G115: integer overflow conversion int -> int32 (gosec)
diff-review: item.go#L17
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L18
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L19
SA1019: library.User is deprecated: use User from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: item.go#L25
SA1019: library.Build is deprecated: use Build from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: webhook.go#L29
SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
diff-review: webhook.go#L30
SA1019: library.Repo is deprecated: use Repo from github.com/go-vela/server/api/types instead. (staticcheck)