chore: re-enable go fix; deprecate library.Hook; bump go #1121
reviewdog.yml
on: pull_request
diff-review
38s
full-review
38s
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)
|