Update smtp.go #6
Annotations
11 errors and 2 warnings
Artifacts / Container image (distroless)
Username and password required
|
Artifacts / Container image (alpine)
The job was canceled because "distroless" failed.
|
Artifacts / Container image (alpine)
Username and password required
|
Lint:
connector/smtp/smtp.go#L41
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
connector/smtp/smtp_test.go#L7
import 'io/ioutil' is not allowed from list 'deprecated': The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead. (depguard)
|
Lint:
connector/smtp/smtp.go#L33
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L50
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L55
naked return in func `Login` with 86 lines of code (nakedret)
|
Lint:
connector/smtp/smtp.go#L43
SA4006: this value of `p` is never used (staticcheck)
|
Lint
Process completed with exit code 2.
|
Test
Process completed with exit code 2.
|
Artifacts / Container image (distroless)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anchore/sbom-action/download-syft@c7f031d9249a826a082ea14c79d3b686a51d485a, haya14busa/action-cond@1d6e8a12b20cdb4f1954feef9aa475b9c390cab5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: helm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|