fix #1700
main.yml
on: push
Quality & Security checks
5m 0s
Tests with coverage
0s
Annotations
10 errors and 1 warning
Quality & Security checks:
example/server.go#L1
: # github.com/coretrix/hitrix/example
|
Quality & Security checks:
example/server.go#L44
cannot use "search_pool" (untyped string constant) as []string value in struct literal (typecheck)
|
Quality & Security checks:
pkg/test/test.go#L1
: # github.com/coretrix/hitrix/pkg/test
|
Quality & Security checks:
pkg/test/test.go#L287
cannot use pools.Search (variable of type []string) as type string in argument to ormService.GetRedis (typecheck)
|
Quality & Security checks:
test/http.go#L13
could not import github.com/coretrix/hitrix/pkg/test (-: # github.com/coretrix/hitrix/pkg/test
|
Quality & Security checks:
pkg/test/test.go#L287
cannot use pools.Search (variable of type []string) as type string in argument to ormService.GetRedis) (typecheck)
|
Quality & Security checks:
test/test.go#L42
cannot use "search_pool" (untyped string constant) as []string value in struct literal (typecheck)
|
Quality & Security checks:
pkg/controller/dev_panel_controller.go#L266
ranges should only be cuddled with assignments used in the iteration (wsl)
|
Quality & Security checks:
pkg/controller/dev_panel_controller.go#L334
only one cuddle assignment allowed before range statement (wsl)
|
Quality & Security checks:
pkg/controller/dev_panel_controller.go#L390
ranges should only be cuddled with assignments used in the iteration (wsl)
|
Quality & Security checks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|