Skip to content

BE-594/domain/slices | Slices package #1688

BE-594/domain/slices | Slices package

BE-594/domain/slices | Slices package #1688

Triggered via pull request October 14, 2024 15:44
Status Failure
Total duration 4m 5s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run linter: domain/mocks/candidate_route_data_holder_mock.go#L1
: # github.com/osmosis-labs/sqs/domain/mocks
Run linter: domain/mocks/orderbook_grpc_client_mock.go#L15
undefined: orderbookplugindomain.Order
Run linter: domain/mocks/orderbook_grpc_client_mock.go#L23
undefined: orderbookplugindomain.Order
Run linter: domain/mocks/orderbook_usecase_mock.go#L11
cannot use &OrderbookUsecaseMock{} (value of type *OrderbookUsecaseMock) as mvc.OrderBookUsecase value in variable declaration: *OrderbookUsecaseMock does not implement mvc.OrderBookUsecase (missing method CreateFormattedLimitOrder) (typecheck)
Run linter: router/usecase/routertesting/suite.go#L13
could not import github.com/osmosis-labs/sqs/domain/mocks (-: # github.com/osmosis-labs/sqs/domain/mocks
Run linter: domain/mocks/orderbook_grpc_client_mock.go#L15
undefined: orderbookplugindomain.Order
Run linter: domain/mocks/orderbook_grpc_client_mock.go#L23
undefined: orderbookplugindomain.Order
Run linter: domain/mocks/orderbook_usecase_mock.go#L11
cannot use &OrderbookUsecaseMock{} (value of type *OrderbookUsecaseMock) as mvc.OrderBookUsecase value in variable declaration: *OrderbookUsecaseMock does not implement mvc.OrderBookUsecase (missing method CreateFormattedLimitOrder)) (typecheck)
Run linter: orderbook/usecase/orderbooktesting/suite.go#L113
s.T undefined (type *OrderbookTestHelper has no field or method T) (typecheck)
Run linter
issues found
Run linter
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/[email protected], golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/