lastest fixes #11
push.yml
on: push
go-build
40s
go-lint
50s
Deploy to VM
0s
Annotations
11 errors and 3 warnings
go-build
Process completed with exit code 2.
|
go-lint:
internal/utils/sessions.go#L41
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/utils/utils_test.go#L125
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/utils/utils_test.go#L133
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
go-lint:
internal/repository/product/dto.go#L37
func `optionToDTO` is unused (unused)
|
go-lint:
internal/repository/product/dto.go#L44
func `optionsBlockToDTO` is unused (unused)
|
go-lint:
internal/repository/product/dto.go#L56
func `optionsToDto` 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/repository/recommendations/get_recommendations.go#L49
SA6005: should use strings.EqualFold instead (staticcheck)
|
go-lint:
internal/repository/file/file_test.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
go-lint:
internal/grpc_api/profile/dto.go#L8
func `toGrpcModel` 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
|