Skip to content

support raven l7

support raven l7 #188

Triggered via pull request October 8, 2023 06:27
Status Failure
Total duration 3m 11s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: pkg/proxyengine/proxyserver/proxyserver.go#L150
Error return value of `wait.PollUntil` is not checked (errcheck)
lint: pkg/proxyengine/proxyclient/proxyclient.go#L81
Error return value of `wait.PollUntil` is not checked (errcheck)
lint: pkg/proxyengine/proxyclient/proxyclient.go#L88
File is not `gofmt`-ed with `-s` (gofmt)
lint: pkg/proxyengine/proxyserver/manageheader.go#L151
`emtpy` is a misspelling of `empty` (misspell)
lint: pkg/proxyengine/proxyserver/manageheader.go#L183
`emtpy` is a misspelling of `empty` (misspell)
lint: pkg/proxyengine/proxyserver/interceptor.go#L275
S1023: redundant `return` statement (gosimple)
lint: pkg/proxyengine/proxyserver/servers.go#L76
S1023: redundant `return` statement (gosimple)
lint: pkg/proxyengine/proxyserver/servers.go#L139
S1023: redundant `return` statement (gosimple)
lint: pkg/proxyengine/proxyserver/servers.go#L62
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: pkg/proxyengine/proxyserver/servers.go#L102
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
Shellcheck
The `set-output` 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/
Shellcheck
The `set-output` 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/
Shellcheck
The `set-output` 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/
Shellcheck
The `set-output` 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/
Shellcheck
The `set-output` 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/
go-mod
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/cache@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: pkg/utils/utils.go#L67
var-naming: var privateIp should be privateIP (revive)
lint: pkg/proxyengine/proxyserver/interceptor.go#L308
var-naming: func isHttpCloseError should be isHTTPCloseError (revive)
lint: pkg/proxyengine/proxyserver/manageheader.go#L56
unexported-return: exported func NewHeaderManager returns unexported type *proxyserver.headerManger, which can be annoying to use (revive)
lint: pkg/engine/proxy.go#L233
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/engine/utils.go#L14
unexported-return: exported func NewEngineOption returns unexported type *engine.engineOption, which can be annoying to use (revive)