Skip to content

chore: updated template files #12

chore: updated template files

chore: updated template files #12

Triggered via push June 26, 2024 08:39
Status Failure
Total duration 2m 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: pool_test.go#L76
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error\")" (err113)
lint: pool_test.go#L101
type assertion must be checked (forcetypeassert)
lint: pool_test.go#L103
type assertion must be checked (forcetypeassert)
lint: pool.go#L64
return with no blank line before (nlreturn)
lint: pool.go#L72
return with no blank line before (nlreturn)
lint: pool_test.go#L11
Function TestPoolRun missing the call to method parallel
lint: pool_test.go#L23
Range statement for test TestPoolRun missing the call to method parallel in test Run
lint: pool_test.go#L30
Function TestPoolTimeout missing the call to method parallel
lint: pool_test.go#L38
Range statement for test TestPoolTimeout missing the call to method parallel in test Run
lint: pool_test.go#L45
Function TestErrorHandling missing the call to method parallel
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: pool_test.go#L66
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pool_test.go#L85
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
lint: pool_test.go#L100
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: examples_test.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: examples_test.go#L43
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: examples_test.go#L54
unused-parameter: parameter 'pool' seems to be unused, consider removing or renaming it as _ (revive)