Skip to content

style: unified app.HandleFunc style #446

style: unified app.HandleFunc style

style: unified app.HandleFunc style #446

Triggered via pull request July 29, 2024 06:59
Status Failure
Total duration 4m 36s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
staticcheck
cannot use c (variable of type *app.RequestContext) as context.Context value in argument to client.Echo: *app.RequestContext does not implement context.Context (missing method Deadline)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/cloudwego/hertz-examples/tracer/hertz/server tracer/hertz/server/main.go:99:28: cannot use c (variable of type *app.RequestContext) as context.Context value in argument to client.Echo: *app.RequestContext does not implement context.Context (missing method Deadline) Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/hertz-examples/tracer/hertz/server\ntracer/hertz/server/main.go:99:28: cannot use c (variable of type *app.RequestContext) as context.Context value in argument to client.Echo: *app.RequestContext does not implement context.Context (missing method Deadline)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
compliant
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
staticcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/