Feat/kai 140, 141, 139 #19
Annotations
10 errors and 2 warnings
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L68
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L131
`recieved` is a misspelling of `received` (misspell)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L111
unnecessary leading newline (whitespace)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L44
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error parsing port\")" (err113)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L24
port is a global variable (gochecknoglobals)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L25
path is a global variable (gochecknoglobals)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L43
only one cuddle assignment allowed before if statement (wsl)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L87
if statements should only be cuddled with assignments (wsl)
|
quality-checks:
src/demo-workflow/triggers/rest-trigger/main.go#L178
declarations should never be cuddled (wsl)
|
quality-checks
issues found
|
quality-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
quality-checks
Restore cache failed: Dependencies file is not found in /home/runner/work/kai-project-template/kai-project-template. Supported file pattern: go.sum
|