Skip to content

refactor: use echo webserver framework #177

refactor: use echo webserver framework

refactor: use echo webserver framework #177

Triggered via pull request September 20, 2024 06:20
Status Failure
Total duration 2m 14s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
go-test: server/server_test.go#L132
assignment mismatch: 2 variables but server.HandleGet returns 1 value
go-test: server/server_test.go#L132
too many arguments in call to server.HandleGet
go-test: server/server_test.go#L154
undefined: WithLogging
go-test: server/server_test.go#L154
cannot use server.HandleGet (value of type func(c echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) (commitments.CommitmentMeta, error) value in argument to WithMetrics
go-test: server/server_test.go#L271
assignment mismatch: 2 variables but server.HandlePut returns 1 value
go-test: server/server_test.go#L271
too many arguments in call to server.HandlePut
go-test: server/server_test.go#L294
undefined: WithLogging
go-test: server/server_test.go#L294
cannot use server.HandlePut (value of type func(c echo.Context) error) as func("net/http".ResponseWriter, *"net/http".Request) (commitments.CommitmentMeta, error) value in argument to WithMetrics
go-test
Process completed with exit code 2.
go-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/