workflow: integrated Staticcheck #1
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/
|