Skip to content

workflow: integrated Staticcheck #1

workflow: integrated Staticcheck

workflow: integrated Staticcheck #1

Triggered via push October 2, 2024 09:36
Status Failure
Total duration 40s
Artifacts

staticcheck.yml

on: push
Run Staticcheck
31s
Run Staticcheck
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Run Staticcheck: ack_queue.go#L28
should use time.Since instead of time.Now().Sub (S1012)
Run Staticcheck: connection.go#L172
argument should be pointer-like to avoid allocations (SA6002)
Run Staticcheck: listener.go#L52
this value of connectionID is never used (SA4006)
Run Staticcheck: stream.go#L173
redundant return statement (S1023)
Run Staticcheck: stream.go#L193
redundant return statement (S1023)
Run Staticcheck
Process completed with exit code 1.
Run Staticcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Staticcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/