[OZON-166] Тесты для usecase #3
pull_requests.yml
on: pull_request
go-build
8s
go-lint
1m 10s
Annotations
10 errors and 3 warnings
go-lint:
internal/middlewares/request_id.go#L15
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/repository/cart/cart_test.go#L48
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/repository/cart/cart_test.go#L68
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/delivery/category/dto.go#L12
func `toDtoCategory` is unused (unused)
|
go-lint:
internal/grpc_api/profile/dto.go#L8
func `toGrpcModel` is unused (unused)
|
go-lint:
internal/usecase/orders/create_order_from_cart.go#L43
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
|
go-lint:
internal/repository/recommendations/get_recommendations.go#L49
SA6005: should use strings.EqualFold instead (staticcheck)
|
go-lint:
internal/usecase/wish_list/copy_wishlist_test.go#L16
var `returnsUUID` is unused (unused)
|
go-lint:
internal/usecase/wish_list/add_product_to_wishlists.go#L9
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
go-lint:
internal/usecase/user/create_user_test.go#L19
var `dbTestError` is unused (unused)
|
go-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
go-build
Restore cache failed: Dependencies file is not found in /home/runner/work/2024_2_kotyari/2024_2_kotyari. Supported file pattern: go.sum
|
go-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|