feat: Financial API GBI-2537 #532
ci.yml
on: pull_request
Unit tests execution
15m 17s
Source code format validation
55s
Annotations
10 errors and 4 warnings
|
Source code format validation:
internal/adapters/entrypoints/rest/handlers/get_report_summaries_test.go#L27
Error return value is not checked (errcheck)
|
|
Source code format validation:
internal/adapters/entrypoints/rest/handlers/get_report_summaries_test.go#L32
Error return value is not checked (errcheck)
|
|
Source code format validation:
internal/adapters/entrypoints/rest/handlers/get_report_summaries_test.go#L41
Error return value is not checked (errcheck)
|
|
Source code format validation:
internal/usecases/liquidity_provider/summaries.go#L65
calculated cyclomatic complexity for function aggregatePeginData is 13, max is 10 (cyclop)
|
|
Source code format validation:
internal/usecases/liquidity_provider/summaries.go#L148
calculated cyclomatic complexity for function aggregatePegoutData is 13, max is 10 (cyclop)
|
|
Source code format validation:
internal/adapters/dataproviders/database/mongo/common.go#L83
calculated cyclomatic complexity for function ListQuotesByDateRange is 17, max is 10 (cyclop)
|
|
Source code format validation:
internal/adapters/dataproviders/database/mongo/common_test.go#L144
Function 'TestListQuotesByDateRange' is too long (328 > 60) (funlen)
|
|
Source code format validation:
internal/adapters/entrypoints/rest/handlers/get_report_summaries_test.go#L127
Function 'TestGetReportSummariesHandler' is too long (119 > 60) (funlen)
|
|
Source code format validation:
internal/usecases/liquidity_provider/summaries_test.go#L160
Function 'TestSummariesUseCase_Run' is too long (441 > 60) (funlen)
|
|
Source code format validation:
internal/usecases/liquidity_provider/summaries.go#L89
`if len(retainedQuotes) > 0` has complex nested blocks (complexity: 7) (nestif)
|
|
Source code format validation
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
|
Source code format validation
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
|
Source code format validation
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.22.8-3c870779e16eabd426940b522b8e715c356b0e43c376d8f694635dfad4a80909
|
|
Unit tests execution
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.22.8-3c870779e16eabd426940b522b8e715c356b0e43c376d8f694635dfad4a80909
|