Skip to content

fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 #1278

fix(deps): update module github.com/golang-jwt/jwt/v4 to v5

fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 #1278

Triggered via pull request May 14, 2023 12:20
Status Failure
Total duration 1m 27s
Artifacts

go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
check / lint: integration_test/oidcserver/server.go#L1
: # github.com/int128/kubelogin/integration_test/oidcserver
check / lint: integration_test/oidcserver/server.go#L151
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L152
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L184
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L185
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L208
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L209
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment (typecheck)
check / lint: integration_test/credetial_plugin_test.go#L15
could not import github.com/int128/kubelogin/integration_test/oidcserver (-: # github.com/int128/kubelogin/integration_test/oidcserver
check / lint: integration_test/oidcserver/server.go#L151
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
check / lint: integration_test/oidcserver/server.go#L152
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L151
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L152
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L184
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L185
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L208
cannot use sv.Response.IDTokenExpiry.Add(-time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: integration_test/oidcserver/server.go#L209
cannot use sv.Response.IDTokenExpiry.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: pkg/usecases/authentication/authentication_test.go#L35
cannot use expiryTime.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: pkg/usecases/credentialplugin/get_token_test.go#L33
cannot use issuedIDTokenExpiration.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: pkg/usecases/setup/stage2_test.go#L22
cannot use time.Now().Add(1 * time.Hour).Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment
test: pkg/usecases/standalone/standalone_test.go#L24
cannot use issuedIDTokenExpiration.Unix() (value of type int64) as *"github.com/golang-jwt/jwt/v5".NumericDate value in assignment