Upgrade github.com/lestrrat-go/jwx #13679
Annotations
41 errors
[golangci] compiler/template/starlark/starlark.go#L131:
compiler/template/starlark/starlark.go#L131
only one cuddle assignment allowed before if statement (wsl)
|
[golangci] secret/vault/create.go#L18:
secret/vault/create.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
[golangci] secret/vault/count.go#L17:
secret/vault/count.go#L17
unused-parameter: parameter 'ctx' 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/delete.go#L16:
secret/vault/delete.go#L16
unused-parameter: parameter 'ctx' 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] mock/server/schedule.go#L3:
mock/server/schedule.go#L3
3-284 lines are duplicate of `mock/server/secret.go:4-181` (dupl)
|
[golangci] database/worker/create.go#L3:
database/worker/create.go#L3
3-38 lines are duplicate of `database/worker/update.go:3-38` (dupl)
|
[golangci] database/worker/update.go#L3:
database/worker/update.go#L3
3-38 lines are duplicate of `database/worker/create.go:3-38` (dupl)
|
[golangci] database/deployment/create.go#L3:
database/deployment/create.go#L3
3-34 lines are duplicate of `database/deployment/update.go:3-34` (dupl)
|
[golangci] database/deployment/update.go#L3:
database/deployment/update.go#L3
3-34 lines are duplicate of `database/deployment/create.go:3-34` (dupl)
|
[golangci] database/pipeline/create.go#L3:
database/pipeline/create.go#L3
3-54 lines are duplicate of `database/pipeline/update.go:3-55` (dupl)
|
[golangci] database/pipeline/update.go#L3:
database/pipeline/update.go#L3
3-55 lines are duplicate of `database/pipeline/create.go:3-54` (dupl)
|
[golangci] api/pipeline/validate.go#L3:
api/pipeline/validate.go#L3
3-110 lines are duplicate of `api/pipeline/expand.go:4-112` (dupl)
|
[golangci] api/pipeline/validate.go#L71:
api/pipeline/validate.go#L71
71-110 lines are duplicate of `api/pipeline/compile.go:73-112` (dupl)
|
[golangci] database/testutils/api_resources.go#L303:
database/testutils/api_resources.go#L303
Error return value of `jk.Set` is not checked (errcheck)
|
[golangci] database/jwk/list.go#L36:
database/jwk/list.go#L36
Error return value of `keySet.AddKey` is not checked (errcheck)
|
[golangci] database/jwk/list_test.go#L57:
database/jwk/list_test.go#L57
Error return value of `wantSet.AddKey` is not checked (errcheck)
|
[golangci] database/jwk/list_test.go#L58:
database/jwk/list_test.go#L58
Error return value of `wantSet.AddKey` is not checked (errcheck)
|
[golangci] database/integration_test.go#L2579:
database/integration_test.go#L2579
Error return value of `jwkSet.AddKey` is not checked (errcheck)
|
[golangci] database/integration_test.go#L2580:
database/integration_test.go#L2580
Error return value of `jwkSet.AddKey` is not checked (errcheck)
|
[golangci] internal/token/generate_rsa.go#L42:
internal/token/generate_rsa.go#L42
Error return value of `jk.Set` is not checked (errcheck)
|
[golangci] compiler/native/expand.go#L47:
compiler/native/expand.go#L47
Function 'ExpandSteps' has too many statements (77 > 70) (funlen)
|
[golangci] mock/server/authentication.go#L81:
mock/server/authentication.go#L81
string `error` has 4 occurrences, make it a constant (goconst)
|
[golangci] scm/github/authentication.go#L59:
scm/github/authentication.go#L59
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
|
[golangci] router/middleware/logger.go#L43:
router/middleware/logger.go#L43
unused-parameter: parameter 'timeFormat' seems to be unused, consider removing or renaming it as _ (revive)
|
[golangci] api/webhook/post.go#L192:
api/webhook/post.go#L192
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
[golangci] api/webhook/post.go#L534:
api/webhook/post.go#L534
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
[golangci] api/webhook/post.go#L545:
api/webhook/post.go#L545
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
[golangci] scm/github/access.go#L34:
scm/github/access.go#L34
Function `newClientToken` should pass the context parameter (contextcheck)
|
[golangci] scm/github/access.go#L103:
scm/github/access.go#L103
Function `newClientToken` should pass the context parameter (contextcheck)
|
[golangci] scm/github/access.go#L153:
scm/github/access.go#L153
Function `newClientToken` should pass the context parameter (contextcheck)
|
[golangci] internal/token/generate_rsa.go#L33:
internal/token/generate_rsa.go#L33
error is not nil (line 30) but it returns nil (nilerr)
|
[golangci] scm/github/repo.go#L525:
scm/github/repo.go#L525
SA1019: client.Repositories.List is deprecated: Use RepositoriesService.ListByUser or RepositoriesService.ListByAuthenticatedUser instead. (staticcheck)
|
[golangci] router/middleware/header.go#L34:
router/middleware/header.go#L34
if statements should only be cuddled with assignments (wsl)
|
[golangci] router/middleware/header.go#L38:
router/middleware/header.go#L38
expressions should not be cuddled with blocks (wsl)
|
[golangci] secret/vault/get.go#L40:
secret/vault/get.go#L40
directive `//nolint:ineffassign,staticcheck // ignore false positive` is unused for linter "staticcheck" (nolintlint)
|
test
Process completed with exit code 2.
|