Skip to content

Added photos to trips #250

Added photos to trips

Added photos to trips #250

Triggered via pull request November 25, 2024 01:12
Status Failure
Total duration 50s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
linters: internal/pkg/attractions/usecase/usecase_test.go#L68
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L112
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L145
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L188
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L235
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L296
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/attractions/usecase/usecase_test.go#L297
not enough arguments in call to u.SearchPlaces
linters: internal/pkg/attractions/usecase/usecase_test.go#L359
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
linters: internal/pkg/categories/delivery/http/handler_test.go#L29
cannot use mockUsecase (variable of type *mock_categories.MockCategoriesRepository) as gen.CategoriesClient value in argument to NewCategoriesHandler: *mock_categories.MockCategoriesRepository does not implement gen.CategoriesClient (wrong type for method GetCategories)
linters: internal/pkg/trips/usecase/trips_usecase_test.go#L19
cannot use mockRepo (variable of type *"2024_2_ThereWillBeName/internal/pkg/trips/mocks".MockTripsRepo) as "2024_2_ThereWillBeName/internal/pkg/trips".TripsRepo value in argument to NewTripsUsecase: *"2024_2_ThereWillBeName/internal/pkg/trips/mocks".MockTripsRepo does not implement "2024_2_ThereWillBeName/internal/pkg/trips".TripsRepo (missing method AddPhotoToTrip)
linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
linters
Restore cache failed: Dependencies file is not found in /home/runner/work/2024_2_ThereWillBeName/2024_2_ThereWillBeName. Supported file pattern: go.sum