Skip to content

Fix staking response in API encoding unit test #1810

Fix staking response in API encoding unit test

Fix staking response in API encoding unit test #1810

Triggered via push August 7, 2023 07:19
Status Success
Total duration 1m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: test_and_benchmark
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
[golangci] nodeclient/http_api_client.go#L362: nodeclient/http_api_client.go#L362
response body must be closed (bodyclose)
[golangci] nodeclient/http_api_client.go#L372: nodeclient/http_api_client.go#L372
response body must be closed (bodyclose)
[golangci] nodeclient/http_api_client.go#L381: nodeclient/http_api_client.go#L381
response body must be closed (bodyclose)
[golangci] nodeclient/http_api_client.go#L391: nodeclient/http_api_client.go#L391
response body must be closed (bodyclose)
[golangci] nodeclient/http_api_client.go#L406: nodeclient/http_api_client.go#L406
response body must be closed (bodyclose)
[golangci] nodeclient/http_api_client.go#L409: nodeclient/http_api_client.go#L409
return with no blank line before (nlreturn)
test_and_benchmark (1.20.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/