Skip to content

fix(deps): update module github.com/google/go-github/v59 to v60 #12884

fix(deps): update module github.com/google/go-github/v59 to v60

fix(deps): update module github.com/google/go-github/v59 to v60 #12884

Triggered via push April 1, 2024 17:53
Status Failure
Total duration 53s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

55 errors
[golangci] router/middleware/scm_test.go#L12: router/middleware/scm_test.go#L12
could not import github.com/go-vela/server/scm/github (-: # github.com/go-vela/server/scm/github
[golangci] scm/github/repo.go#L126: scm/github/repo.go#L126
invalid operation: cannot index hook.Config (variable of type *"github.com/google/go-github/v60/github".HookConfig)
[golangci] scm/github/repo.go#L195: scm/github/repo.go#L195
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
[golangci] scm/github/repo.go#L269: scm/github/repo.go#L269
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal) (typecheck)
[golangci] router/middleware/perm/perm_test.go#L22: router/middleware/perm/perm_test.go#L22
could not import github.com/go-vela/server/scm/github (-: # github.com/go-vela/server/scm/github
[golangci] scm/github/repo.go#L126: scm/github/repo.go#L126
invalid operation: cannot index hook.Config (variable of type *"github.com/google/go-github/v60/github".HookConfig)
[golangci] scm/github/repo.go#L195: scm/github/repo.go#L195
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
[golangci] scm/github/repo.go#L269: scm/github/repo.go#L269
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal) (typecheck)
[golangci] router/middleware/pipeline/pipeline_test.go#L25: router/middleware/pipeline/pipeline_test.go#L25
could not import github.com/go-vela/server/scm/github (-: # github.com/go-vela/server/scm/github
[golangci] scm/github/repo.go#L126: scm/github/repo.go#L126
invalid operation: cannot index hook.Config (variable of type *"github.com/google/go-github/v60/github".HookConfig)
[golangci] scm/github/repo.go#L195: scm/github/repo.go#L195
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
[golangci] scm/github/repo.go#L269: scm/github/repo.go#L269
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal) (typecheck)
[golangci] scm/github/access.go#L1: scm/github/access.go#L1
: # github.com/go-vela/server/scm/github [github.com/go-vela/server/scm/github.test]
[golangci] scm/github/repo.go#L126: scm/github/repo.go#L126
invalid operation: cannot index hook.Config (variable of type *"github.com/google/go-github/v60/github".HookConfig)
[golangci] scm/github/repo.go#L195: scm/github/repo.go#L195
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
[golangci] scm/github/repo.go#L269: scm/github/repo.go#L269
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal (typecheck)
[golangci] mock/server/schedule.go#L3: mock/server/schedule.go#L3
3-142 lines are duplicate of `mock/server/secret.go:4-180` (dupl)
[golangci] database/deployment/create.go#L3: database/deployment/create.go#L3
3-33 lines are duplicate of `database/deployment/update.go:3-32` (dupl)
[golangci] database/deployment/update.go#L3: database/deployment/update.go#L3
3-32 lines are duplicate of `database/deployment/create.go:3-33` (dupl)
[golangci] database/pipeline/create.go#L3: database/pipeline/create.go#L3
3-53 lines are duplicate of `database/pipeline/update.go:3-54` (dupl)
[golangci] database/pipeline/update.go#L3: database/pipeline/update.go#L3
3-54 lines are duplicate of `database/pipeline/create.go:3-53` (dupl)
[golangci] database/worker/create.go#L3: database/worker/create.go#L3
3-36 lines are duplicate of `database/worker/update.go:3-36` (dupl)
[golangci] database/worker/update.go#L3: database/worker/update.go#L3
3-36 lines are duplicate of `database/worker/create.go:3-36` (dupl)
[golangci] compiler/native/expand.go#L48: compiler/native/expand.go#L48
Function 'ExpandSteps' has too many statements (74 > 70) (funlen)
[golangci] mock/server/authentication.go#L41: mock/server/authentication.go#L41
string `error` has 4 occurrences, make it a constant (goconst)
[golangci] queue/redis/ping_test.go#L8: queue/redis/ping_test.go#L8
File is not `goimports`-ed (goimports)
[golangci] database/deployment/delete.go#L6: database/deployment/delete.go#L6
File is not `goimports`-ed (goimports)
[golangci] database/deployment/update.go#L6: database/deployment/update.go#L6
File is not `goimports`-ed (goimports)
[golangci] queue/redis/route_test.go#L62: queue/redis/route_test.go#L62
G601: Implicit memory aliasing in for loop. (gosec)
[golangci] compiler/native/compile_test.go#L1818: compiler/native/compile_test.go#L1818
G601: Implicit memory aliasing in for loop. (gosec)
[golangci] compiler/native/compile_test.go#L3129: compiler/native/compile_test.go#L3129
G601: Implicit memory aliasing in for loop. (gosec)
[golangci] database/build/update.go#L16: database/build/update.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] database/build/count_repo.go#L14: database/build/count_repo.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] database/build/get_repo.go#L15: database/build/get_repo.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] compiler/native/parse_test.go#L861: compiler/native/parse_test.go#L861
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] secret/vault/refresh_test.go#L45: secret/vault/refresh_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] secret/vault/refresh_test.go#L71: secret/vault/refresh_test.go#L71
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] secret/vault/refresh_test.go#L108: secret/vault/refresh_test.go#L108
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] secret/vault/refresh_test.go#L128: secret/vault/refresh_test.go#L128
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] secret/vault/refresh_test.go#L201: secret/vault/refresh_test.go#L201
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] queue/redis/redis_test.go#L91: queue/redis/redis_test.go#L91
var `_steps` is unused (unused)
[golangci] database/resource.go#L29: database/resource.go#L29
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
[golangci] database/resource.go#L40: database/resource.go#L40
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
[golangci] database/resource.go#L53: database/resource.go#L53
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
[golangci] compiler/template/starlark/starlark.go#L131: compiler/template/starlark/starlark.go#L131
only one cuddle assignment allowed before if statement (wsl)
[golangci] database/schedule/create.go#L3: database/schedule/create.go#L3
directive `//nolint:dupl // ignore similar code with update.go` is unused for linter "dupl" (nolintlint)
[golangci] compiler/native/compile.go#L267: compiler/native/compile.go#L267
directive `//nolint:dupl,lll // linter thinks the steps and stages workflows are identical` is unused for linter "dupl" (nolintlint)
[golangci] compiler/native/compile.go#L364: compiler/native/compile.go#L364
directive `//nolint:dupl,lll // linter thinks the steps and stages workflows are identical` is unused for linter "dupl" (nolintlint)
[golangci] secret/vault/count.go#L37: secret/vault/count.go#L37
directive `//nolint:staticcheck // ignore false positive` is unused for linter "staticcheck" (nolintlint)
[golangci] secret/vault/get.go#L40: secret/vault/get.go#L40
directive `//nolint:ineffassign,staticcheck // ignore false positive` is unused for linter "staticcheck" (nolintlint)
[golangci] secret/vault/list.go#L45: secret/vault/list.go#L45
directive `//nolint:staticcheck // ignore false positive` is unused for linter "staticcheck" (nolintlint)
build: scm/github/repo.go#L126
invalid operation: cannot index hook.Config (variable of type *"github.com/google/go-github/v60/github".HookConfig)
build: scm/github/repo.go#L195
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
build: scm/github/repo.go#L269
cannot use map[string]interface{}{…} (value of type map[string]interface{}) as *"github.com/google/go-github/v60/github".HookConfig value in struct literal
build
Process completed with exit code 2.