Skip to content
Triggered via pull request November 27, 2024 14:19
@AnnHarvardAnnHarvard
synchronize #50
dev
Status Failure
Total duration 43s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
linters: internal/pkg/trips/delivery/http/handler_test.go#L486
Error return value of `(*encoding/json.Decoder).Decode` is not checked (errcheck)
linters: internal/pkg/trips/repo/trips_repository_test.go#L436
string `photo1.jpg` has 5 occurrences, make it a constant (goconst)
linters: internal/pkg/trips/repo/trips_repository_test.go#L495
string `DELETE FROM trip_photo WHERE trip_id = \$1 AND photo_path = \$2` has 3 occurrences, make it a constant (goconst)
linters: internal/pkg/reviews/repo/reviews_repository.go#L35
G115: integer overflow conversion int -> uint (gosec)
linters: internal/pkg/middleware/middleware.go#L51
G115: integer overflow conversion uint -> int (gosec)
linters: internal/pkg/search/delivery/grpc/grpc.go#L30
G115: integer overflow conversion uint -> uint32 (gosec)
linters: internal/pkg/survey/delivery/http/handler.go#L78
G115: integer overflow conversion uint64 -> uint32 (gosec)
linters: internal/pkg/survey/delivery/http/handler.go#L116
G115: integer overflow conversion uint -> uint32 (gosec)
linters: internal/pkg/survey/delivery/http/handler.go#L117
G115: integer overflow conversion uint -> uint32 (gosec)
linters: internal/pkg/survey/delivery/http/handler.go#L118
G115: integer overflow conversion int -> uint32 (gosec)
linters
Restore cache failed: Dependencies file is not found in /home/runner/work/2024_2_ThereWillBeName/2024_2_ThereWillBeName. Supported file pattern: go.sum