Skip to content

chore: updated template files #17

chore: updated template files

chore: updated template files #17

Triggered via push July 13, 2024 22:56
Status Failure
Total duration 5m 54s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: examples_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: examples_test.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: pool_test.go#L76
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error\")" (err113)
lint: examples_test.go#L45
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error processing %d\", i)" (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: examples_test.go#L21
return with no blank line before (nlreturn)
lint: pool_test.go#L11
Function TestPoolRun missing the call to method parallel
lint
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, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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)