Skip to content

feature/v5-asset-withdraw (#165) #342

feature/v5-asset-withdraw (#165)

feature/v5-asset-withdraw (#165) #342

Triggered via push February 24, 2024 04:32
Status Failure
Total duration 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: account_asset.go#L1
: # github.com/hirokisan/bybit/v2 [github.com/hirokisan/bybit/v2.test]
lint: v5_asset_service_test.go#L605
cannot use "ETH" (untyped string constant) as *string value in struct literal
lint: v5_asset_service_test.go#L610
cannot use true (untyped bool constant) as *bool value in struct literal
lint: v5_asset_service_test.go#L611
cannot use AccountTypeFunding (constant "FUND" of type AccountType) as *AccountType value in struct literal
lint: v5_asset_service_test.go#L612
cannot use 0 (untyped int constant) as *int value in struct literal
lint: v5_asset_service_test.go#L645
cannot use "ETH" (untyped string constant) as *string value in struct literal
lint: v5_asset_service_test.go#L650
cannot use true (untyped bool constant) as *bool value in struct literal
lint: v5_asset_service_test.go#L651
cannot use AccountTypeFunding (constant "FUND" of type AccountType) as *AccountType value in struct literal
lint: v5_asset_service_test.go#L652
cannot use 0 (untyped int constant) as *int value in struct literal (typecheck)
lint: client_test.go#L8
could not import github.com/hirokisan/bybit/v2 (-: # github.com/hirokisan/bybit/v2 [github.com/hirokisan/bybit/v2.test]
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@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/.