Skip to content

fix(deps): update module github.com/lestrrat-go/jwx to v2 #13677

fix(deps): update module github.com/lestrrat-go/jwx to v2

fix(deps): update module github.com/lestrrat-go/jwx to v2 #13677

Triggered via push June 5, 2024 18:33
Status Failure
Total duration 1m 48s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

27 errors
[golangci] database/testutils/api_resources.go#L1: database/testutils/api_resources.go#L1
: # github.com/go-vela/server/database/testutils
[golangci] database/database.go#L20: database/database.go#L20
could not import github.com/go-vela/server/database/jwk (-: # github.com/go-vela/server/database/jwk
[golangci] database/jwk/list.go#L36: database/jwk/list.go#L36
keySet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add)) (typecheck)
[golangci] database/integration_test.go#L33: database/integration_test.go#L33
could not import github.com/go-vela/server/database/testutils (-: # github.com/go-vela/server/database/testutils
[golangci] database/testutils/api_resources.go#L291: database/testutils/api_resources.go#L291
undefined: jwk.NewRSAPublicKey) (typecheck)
[golangci] database/integration_test.go#L881: database/integration_test.go#L881
cannot use i (variable of type int) as string value in argument to resources.JWKs.Get (typecheck)
[golangci] database/integration_test.go#L885: database/integration_test.go#L885
db.CreateJWK undefined (type Interface has no field or method CreateJWK) (typecheck)
[golangci] database/integration_test.go#L892: database/integration_test.go#L892
db.ListJWKs undefined (type Interface has no field or method ListJWKs) (typecheck)
[golangci] database/integration_test.go#L904: database/integration_test.go#L904
cannot use i (variable of type int) as string value in argument to resources.JWKs.Get (typecheck)
[golangci] database/integration_test.go#L908: database/integration_test.go#L908
db.GetActiveJWK undefined (type Interface has no field or method GetActiveJWK) (typecheck)
[golangci] database/integration_test.go#L920: database/integration_test.go#L920
db.RotateKeys undefined (type Interface has no field or method RotateKeys) (typecheck)
[golangci] database/integration_test.go#L926: database/integration_test.go#L926
cannot use i (variable of type int) as string value in argument to resources.JWKs.Get (typecheck)
[golangci] database/integration_test.go#L930: database/integration_test.go#L930
db.GetActiveJWK undefined (type Interface has no field or method GetActiveJWK) (typecheck)
[golangci] database/integration_test.go#L2579: database/integration_test.go#L2579
jwkSet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add) (typecheck)
[golangci] database/integration_test.go#L2580: database/integration_test.go#L2580
jwkSet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add) (typecheck)
[golangci] database/build/clean_test.go#L13: database/build/clean_test.go#L13
could not import github.com/go-vela/server/database/testutils (-: # github.com/go-vela/server/database/testutils
[golangci] database/testutils/api_resources.go#L291: database/testutils/api_resources.go#L291
undefined: jwk.NewRSAPublicKey) (typecheck)
[golangci] database/dashboard/create_test.go#L13: database/dashboard/create_test.go#L13
could not import github.com/go-vela/server/database/testutils (-: # github.com/go-vela/server/database/testutils
[golangci] database/testutils/api_resources.go#L291: database/testutils/api_resources.go#L291
undefined: jwk.NewRSAPublicKey) (typecheck)
[golangci] database/jwk/list.go#L36: database/jwk/list.go#L36
keySet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add) (typecheck)
[golangci] database/jwk/list_test.go#L57: database/jwk/list_test.go#L57
wantSet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add) (typecheck)
[golangci] database/jwk/list_test.go#L58: database/jwk/list_test.go#L58
wantSet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add) (typecheck)
[golangci] internal/token/generate_rsa.go#L30: internal/token/generate_rsa.go#L30
undefined: jwk.NewRSAPublicKey (typecheck)
test: database/jwk/list.go#L36
keySet.Add undefined (type "github.com/lestrrat-go/jwx/v2/jwk".Set has no field or method Add)
test: database/testutils/api_resources.go#L291
undefined: jwk.NewRSAPublicKey
test
Process completed with exit code 2.