Skip to content

Submit and SubmitWait return error if called on stopped workerpool #36

Submit and SubmitWait return error if called on stopped workerpool

Submit and SubmitWait return error if called on stopped workerpool #36

Triggered via pull request November 15, 2024 11:17
Status Failure
Total duration 20s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
lint: workerpool.go#L183
Error return value of `p.Submit` is not checked (errcheck)
lint: workerpool_test.go#L24
Error return value of `wp.Submit` is not checked (errcheck)
lint: workerpool_test.go#L67
Error return value of `wp.Submit` is not checked (errcheck)
lint: workerpool_test.go#L101
Error return value of `wp.Submit` is not checked (errcheck)
lint: workerpool_test.go#L269
Error return value of `wp.SubmitWait` is not checked (errcheck)
lint: workerpool_test.go#L283
Error return value of `wp.SubmitWait` is not checked (errcheck)
lint
issues found
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/