Skip to content

РК-4

РК-4 #6

Triggered via pull request December 18, 2024 14:19
@JOJOSoderqvistJOJOSoderqvist
synchronize #62
dev
Status Failure
Total duration 58s
Artifacts

pull_requests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
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/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/reviews/add_review_test.go#L360
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
go-lint: internal/usecase/reviews/delete_review_test.go#L190
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
go-lint: internal/usecase/reviews/get_product_reviews_test.go#L148
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
go-lint: internal/usecase/profile/get_profile_test.go#L18
var `dbTestError` is unused (unused)
go-lint: internal/repository/orders/get_nearest_delivery_date_test.go#L62
ineffectual assignment to ctx (ineffassign)
go-lint: internal/repository/orders/get_order_by_id_test.go#L33
ineffectual assignment to ctx (ineffassign)
go-lint: internal/repository/orders/get_order_by_id_test.go#L73
ineffectual assignment to ctx (ineffassign)
go-lint: internal/repository/product/dto.go#L37
func `optionToDTO` 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