Skip to content

fix: upgrade kratos metrics example #90

fix: upgrade kratos metrics example

fix: upgrade kratos metrics example #90

Triggered via pull request September 3, 2024 06:42
Status Failure
Total duration 1m 54s
Artifacts

go.yml

on: pull_request
Matrix: build & test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
build & test (1.20.x): auth/jwt/main.go#L30
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Server
build & test (1.20.x): auth/jwt/main.go#L38
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Server
build & test (1.20.x): auth/jwt/main.go#L48
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Client
build & test (1.20.x)
Process completed with exit code 1.
build & test (1.21.x)
The job was canceled because "_1_20_x" failed.
build & test (1.21.x): auth/jwt/main.go#L30
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Server
build & test (1.21.x): auth/jwt/main.go#L38
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Server
build & test (1.21.x): auth/jwt/main.go#L48
cannot use func(token *jwtv4.Token) (interface{}, error) {…} (value of type func(token *"github.com/golang-jwt/jwt/v4".Token) (interface{}, error)) as "github.com/golang-jwt/jwt/v5".Keyfunc value in argument to jwt.Client
build & test (1.21.x)
The operation was canceled.
build & test (1.20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build & test (1.20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/