Skip to content

[OZON-166] Тесты для usecase #4

[OZON-166] Тесты для usecase

[OZON-166] Тесты для usecase #4

Triggered via pull request December 18, 2024 14:00
@grozaqueengrozaqueen
synchronize #61
OZON-166
Status Failure
Total duration 1m 7s
Artifacts

pull_requests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
go-lint: internal/repository/address/get_address_by_profile_id_test.go#L42
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
go-lint: internal/repository/address/get_address_by_profile_id_test.go#L64
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
go-lint: internal/repository/address/get_address_by_profile_id_test.go#L82
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
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/usecase/rating_updater/update_product_rating_test.go#L20
var `dbTestError` is unused (unused)
go-lint: internal/delivery/wish_list/get_wishlist_by_link.go#L41
printf: non-constant format string in call to fmt.Errorf (govet)
go-lint: internal/grpc_api/profile/dto.go#L8
func `toGrpcModel` is unused (unused)
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/repository/orders/create_order_from_cart.go#L32
Error return value of `tx.Rollback` is not checked (errcheck)
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