Skip to content

bybit: Add websocket trading functionality across all assets #7468

bybit: Add websocket trading functionality across all assets

bybit: Add websocket trading functionality across all assets #7468

Triggered via pull request December 11, 2024 01:08
Status Failure
Total duration 2m 51s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: exchanges/bybit/bybit_wrapper.go#L967
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: exchanges/bybit/bybit_test.go#L3689
shadow: declaration of "b" shadows declaration at line 53 (govet)
lint: exchanges/bybit/bybit_test.go#L3732
shadow: declaration of "b" shadows declaration at line 53 (govet)
lint: exchanges/bybit/bybit_test.go#L3745
shadow: declaration of "b" shadows declaration at line 53 (govet)
lint: exchanges/bybit/bybit_test.go#L3765
shadow: declaration of "b" shadows declaration at line 53 (govet)
lint: exchanges/bybit/bybit_test.go#L3841
shadow: declaration of "b" shadows declaration at line 53 (govet)
lint: exchanges/bybit/bybit_test.go#L3914
ineffectual assignment to p (ineffassign)
lint: exchanges/bybit/bybit_test.go#L3917
ineffectual assignment to p (ineffassign)
lint: exchanges/bybit/bybit_websocket_requests.go#L152
ST1003: var nanoTs should be nanoTS (stylecheck)
lint: exchanges/bybit/bybit_test.go#L3846
error-nil: use require.Error (testifylint)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636