Skip to content

Add create order

Add create order #213

Triggered via push September 4, 2023 15:37
Status Failure
Total duration 1m 47s
Artifacts

main.yml

on: push
test-cache
37s
test-cache
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 5 warnings
test-cache: pkg/order/create.go#L11
imported and not used: "github.com/NpoolPlatform/chain-middleware/pkg/client/coin" as coininfocli
test-cache: pkg/order/create.go#L12
imported and not used: "github.com/NpoolPlatform/chain-middleware/pkg/client/coin/currency" as currvalmwcli
test-cache: pkg/order/create.go#L14
imported and not used: "github.com/NpoolPlatform/go-service-framework/pkg/logger"
test-cache: pkg/order/create.go#L20
imported and not used: "github.com/NpoolPlatform/message/npool/basetypes/order/v1" as ordertypes
test-cache: pkg/order/create.go#L23
imported and not used: "github.com/NpoolPlatform/message/npool/chain/mw/v1/coin/currency" as currvalmwpb
test-cache: pkg/order/create.go#L29
imported and not used: "github.com/NpoolPlatform/message/npool/sphinxproxy" as sphinxproxypb
test-cache: pkg/order/create.go#L30
imported and not used: "github.com/NpoolPlatform/order-middleware/pkg/client/order" as ordermwcli
test-cache: pkg/order/create.go#L41
undefined: usermwpb
test-cache: pkg/order/creates.go#L39
createHandler redeclared in this block
test-cache: pkg/order/create.go#L39
previous declaration
test (1.18.x, ubuntu-latest): pkg/order/creates.go#L39
createHandler redeclared in this block
test (1.18.x, ubuntu-latest): pkg/order/create.go#L39
other declaration of createHandler
test (1.18.x, ubuntu-latest): pkg/order/creates.go#L445
createHandler.withLockPaymentAccount redeclared in this block
test (1.18.x, ubuntu-latest): pkg/order/create.go#L490
other declaration of withLockPaymentAccount
test (1.18.x, ubuntu-latest): pkg/order/creates.go#L512
createHandler.withUpdateStock redeclared in this block
test (1.18.x, ubuntu-latest): pkg/order/create.go#L396
other declaration of withUpdateStock
test (1.18.x, ubuntu-latest): pkg/order/creates.go#L662
Handler.CreateOrder redeclared in this block
test (1.18.x, ubuntu-latest): pkg/order/create.go#L512
other declaration of CreateOrder
test (1.18.x, ubuntu-latest): pkg/order/handler.go#L38
undefined: order.CreateOrdersRequest_OrderReq
test (1.18.x, ubuntu-latest): pkg/order/create.go#L41
undefined: usermwpb
test (1.17.x, ubuntu-latest): pkg/order/create.go#L11
imported and not used: "github.com/NpoolPlatform/chain-middleware/pkg/client/coin" as coininfocli
test (1.17.x, ubuntu-latest): pkg/order/create.go#L12
imported and not used: "github.com/NpoolPlatform/chain-middleware/pkg/client/coin/currency" as currvalmwcli
test (1.17.x, ubuntu-latest): pkg/order/create.go#L14
imported and not used: "github.com/NpoolPlatform/go-service-framework/pkg/logger"
test (1.17.x, ubuntu-latest): pkg/order/create.go#L20
imported and not used: "github.com/NpoolPlatform/message/npool/basetypes/order/v1" as ordertypes
test (1.17.x, ubuntu-latest): pkg/order/create.go#L23
imported and not used: "github.com/NpoolPlatform/message/npool/chain/mw/v1/coin/currency" as currvalmwpb
test (1.17.x, ubuntu-latest): pkg/order/create.go#L29
imported and not used: "github.com/NpoolPlatform/message/npool/sphinxproxy" as sphinxproxypb
test (1.17.x, ubuntu-latest): pkg/order/create.go#L30
imported and not used: "github.com/NpoolPlatform/order-middleware/pkg/client/order" as ordermwcli
test (1.17.x, ubuntu-latest): pkg/order/create.go#L41
undefined: usermwpb
test (1.17.x, ubuntu-latest): pkg/order/creates.go#L39
createHandler redeclared in this block
test (1.17.x, ubuntu-latest): pkg/order/create.go#L39
previous declaration
test (1.18.x, macos-latest): pkg/order/creates.go#L39
createHandler redeclared in this block
test (1.18.x, macos-latest): pkg/order/create.go#L39
other declaration of createHandler
test (1.18.x, macos-latest): pkg/order/creates.go#L445
createHandler.withLockPaymentAccount redeclared in this block
test (1.18.x, macos-latest): pkg/order/create.go#L490
other declaration of withLockPaymentAccount
test (1.18.x, macos-latest): pkg/order/creates.go#L512
createHandler.withUpdateStock redeclared in this block
test (1.18.x, macos-latest): pkg/order/create.go#L396
other declaration of withUpdateStock
test (1.18.x, macos-latest): pkg/order/creates.go#L662
Handler.CreateOrder redeclared in this block
test (1.18.x, macos-latest): pkg/order/create.go#L512
other declaration of CreateOrder
test (1.18.x, macos-latest): pkg/order/handler.go#L38
undefined: order.CreateOrdersRequest_OrderReq
test (1.18.x, macos-latest): pkg/order/create.go#L41
undefined: usermwpb
test (1.17.x, macos-latest)
The operation was canceled.
test-cache
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, 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/
test (1.18.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.17.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.18.x, macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.17.x, macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/