Skip to content

refactor code for performance and security #53

refactor code for performance and security

refactor code for performance and security #53

Triggered via pull request August 6, 2025 14:52
Status Failure
Total duration 25s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
build
issues found
build: main_test.go#L542
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
build: main_test.go#L433
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
build: main_test.go#L940
940-975 lines are duplicate of `main_test.go:903-938` (dupl)
build: main_test.go#L903
903-938 lines are duplicate of `main_test.go:940-975` (dupl)
build
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0TWyTaAAAAABD86vp9w7vTbEsXcXmpNk+UEFPRURHRTA2MDcARWRnZQ==
build: main_test.go#L776
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
build: main_test.go#L772
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
build: main_test.go#L768
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
build: main_test.go#L738
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
build: main.go#L111
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
build
Failed to restore: Cache service responded with 400