Skip to content

chore(deps): update all non-major dependencies #2096

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #2096

GitHub Actions / golangci failed Sep 19, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (4)

vela/client.go|553 col 20| printf: non-constant format string in call to fmt.Errorf (govet)
vela/admin.go|165 col 40| SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
vela/admin.go|170 col 11| SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
vela/hook.go|16 col 59| SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)

Filtered Findings (0)

Annotations

Check failure on line 553 in vela/client.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] vela/client.go#L553

printf: non-constant format string in call to fmt.Errorf (govet)
Raw output
vela/client.go:553:20: printf: non-constant format string in call to fmt.Errorf (govet)
	return fmt.Errorf(*resp.Message)
	                  ^

Check failure on line 165 in vela/admin.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] vela/admin.go#L165

SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
Raw output
vela/admin.go:165:40: SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
func (svc *AdminHookService) Update(h *library.Hook) (*library.Hook, *Response, error) {
                                       ^

Check failure on line 170 in vela/admin.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] vela/admin.go#L170

SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
Raw output
vela/admin.go:170:11: SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
	v := new(library.Hook)
	         ^

Check failure on line 16 in vela/hook.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] vela/hook.go#L16

SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
Raw output
vela/hook.go:16:59: SA1019: library.Hook is deprecated: use Hook from github.com/go-vela/server/api/types instead. (staticcheck)
func (svc *HookService) Get(org, repo string, hook int) (*library.Hook, *Response, error) {
                                                          ^