Skip to content

add mock and update lint cfg #2

add mock and update lint cfg

add mock and update lint cfg #2

Triggered via push July 19, 2024 14:06
Status Failure
Total duration 31s
Artifacts

go-ci.yml

on: push
lint-and-test
22s
lint-and-test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint-and-test: internal/client/client_test.go#L40
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
lint-and-test: internal/client/web.go#L52
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint-and-test: internal/client/client.go#L46
var-naming: type Http should be HTTP (revive)
lint-and-test: internal/client/client_test.go#L16
Function TestClient_GenerateVoiceFromText missing the call to method parallel (paralleltest)
lint-and-test: internal/client/client_test.go#L70
Range statement for test TestClient_GenerateVoiceFromText missing the call to method parallel in test Run (paralleltest)
lint-and-test: internal/client/web_test.go#L14
Function TestWebReader missing the call to method parallel (paralleltest)
lint-and-test: internal/client/web_test.go#L47
Range statement for test TestWebReader missing the call to method parallel in test Run (paralleltest)
lint-and-test
Process completed with exit code 1.
lint-and-test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/