Skip to content

feat: add get collateral amount method #194

feat: add get collateral amount method

feat: add get collateral amount method #194

Triggered via pull request December 15, 2023 13:06
Status Failure
Total duration 49s
Artifacts

actions.yml

on: pull_request
Lint and Test Go Code
38s
Lint and Test Go Code
Make Release
0s
Make Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint and Test Go Code: perpsv3.go#L1
: # github.com/gateway-fm/perpsv3-Go [github.com/gateway-fm/perpsv3-Go.test]
Lint and Test Go Code: perpsv3_test.go#L183
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L277
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L361
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L438
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L511
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L577
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L660
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L736
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code: perpsv3_test.go#L813
cannot use mockService (variable of type *mock_services.MockIService) as services.IService value in assignment: *mock_services.MockIService does not implement services.IService (missing method GetCollateralAmount)
Lint and Test Go Code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@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 and Test Go Code
The `save-state` 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/
Lint and Test Go Code
The `save-state` 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/