Skip to content

Using new HTTP router in 1.22 and removing httprouter package #17

Using new HTTP router in 1.22 and removing httprouter package

Using new HTTP router in 1.22 and removing httprouter package #17

Triggered via pull request April 3, 2024 20:53
@mantzasmantzas
synchronize #684
std-http
Status Failure
Total duration 28m 1s
Artifacts

ci.yml

on: pull_request
Lint and fmt check
1m 32s
Lint and fmt check
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Lint and fmt check: component/http/cache/cache.go#L253
unused-parameter: parameter 'maxAge' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache.go#L289
unused-parameter: parameter 'maxAge' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache_test.go#L985
unused-parameter: parameter 'now' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache_test.go#L985
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache_test.go#L1013
unused-parameter: parameter 'now' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache_test.go#L1013
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/cache/cache_test.go#L1590
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/middleware/middleware_test.go#L44
unused-parameter: parameter 'h' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/middleware/middleware_test.go#L45
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
Lint and fmt check: component/http/middleware/middleware_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
CI on Go 1.22
The self-hosted runner: gh-runnerdeploy-beatlabs-patron-xv8p7-jn52m lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
CI on Go 1.22
Restore cache failed: Dependencies file is not found in /runner/_work/patron/patron. Supported file pattern: go.sum