Skip to content

Feat: add grpc gateway http rule #89

Feat: add grpc gateway http rule

Feat: add grpc gateway http rule #89

Triggered via pull request July 11, 2024 15:26
@kookseekooksee
synchronize #36
feat/http-rule
Status Failure
Total duration 4m 20s
Artifacts

lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 6 warnings
github.com/pubgo/lava/pkg/gateway ► TestMain: unit-tests.xml#L0
Failed test found in: unit-tests.xml Error: FAIL github.com/pubgo/lava/pkg/gateway [build failed]
test: pkg/gateway/util.go#L226
github.com/pubgo/funk/errors.Format does not support error-wrapping directive %w
test: pkg/gateway/util.go#L226
github.com/pubgo/funk/errors.Format does not support error-wrapping directive %w
test
Process completed with exit code 1.
lint: pkg/gateway/mux.go#L209
Error return value is not checked (errcheck)
lint: pkg/gateway/util.go#L226
printf: github.com/pubgo/funk/errors.Format does not support error-wrapping directive %w (govet)
lint: pkg/gateway/internal/routertree/parser.go#L35
structtag: struct field tag `@"/"` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L36
structtag: struct field tag `@@!` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L37
structtag: struct field tag `(":" @Ident)?` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L41
structtag: struct field tag `@@ ("/" @@)*` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L45
structtag: struct field tag `@("*" "*" | "*" | Ident)` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L46
structtag: struct field tag `| @@*` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
lint: pkg/gateway/internal/routertree/parser.go#L50
structtag: struct field tag `"{" @Ident ("." @Ident)*` not compatible with reflect.StructTag.Get: bad syntax for struct tag key (govet)
lint: pkg/gateway/internal/routertree/parser.go#L51
structtag: struct field tag `("=" @@)? "}"` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
test
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/
test
The following actions uses Node.js version which is deprecated 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/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/