Skip to content

Feat: add grpc gateway http rule #75

Feat: add grpc gateway http rule

Feat: add grpc gateway http rule #75

Triggered via pull request June 30, 2024 09:15
@kookseekooksee
synchronize #36
feat/http-rule
Status Failure
Total duration 1m 51s
Artifacts

lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 6 warnings
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)
lint: pkg/gateway/util.go#L226
printf: github.com/pubgo/funk/errors.Format does not support error-wrapping directive %w (govet)
lint
issues found
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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/
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/