Skip to content

WIP: feat(tool): kitex tool as sdk #4097

WIP: feat(tool): kitex tool as sdk

WIP: feat(tool): kitex tool as sdk #4097

Triggered via pull request May 23, 2024 09:38
Status Failure
Total duration 1m 29s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
staticcheck
multiple-value GetGOPATH() (value of type (string, error)) in single-value context","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/cloudwego/kitex/tool/internal_pkg/util [github.com/cloudwego/kitex/tool/internal_pkg/util.test] tool/internal_pkg/util/util_test.go:44:17: multiple-value GetGOPATH() (value of type (string, error)) in single-value context tool/internal_pkg/util/util_test.go:46:17: multiple-value GetGOPATH() (value of type (string, error)) in single-value context Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/kitex/tool/internal_pkg/util [github.com/cloudwego/kitex/tool/internal_pkg/util.test]\ntool/internal_pkg/util/util_test.go:44:17: multiple-value GetGOPATH() (value of type (string, error)) in single-value context\ntool/internal_pkg/util/util_test.go:46:17: multiple-value GetGOPATH() (value of type (string, error)) in single-value context","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
staticcheck: tool/internal_pkg/pluginmode/thriftgo/convertor.go#L101
[staticcheck] reported by reviewdog 🐶 func (*converter).fail is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func (*converter).fail is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/data00/runner/cloudwego-sg-runner-03/kitex/kitex/tool/internal_pkg/pluginmode/thriftgo/convertor.go","range":{"start":{"line":101,"column":21}}},"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
lint: tool/internal_pkg/util/util_test.go#L44
multiple-value GetGOPATH() (value of type (string, error)) in single-value context
lint: tool/internal_pkg/util/util_test.go#L46
multiple-value GetGOPATH() (value of type (string, error)) in single-value context (typecheck)
lint
issues found
compliant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.