Skip to content

Update smtp.go

Update smtp.go #3

Triggered via push May 2, 2024 04:26
Status Failure
Total duration 4m 42s
Artifacts

ci.yaml

on: push
Matrix: Artifacts / Container image
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
Artifacts / Container image (alpine)
Username and password required
Artifacts / Container image (distroless)
The job was canceled because "alpine" failed.
Artifacts / Container image (distroless)
The operation was canceled.
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 81 lines of code (nakedret)
Lint: connector/smtp/smtp.go#L50
naked return in func `Login` with 81 lines of code (nakedret)
Lint: connector/smtp/smtp.go#L55
naked return in func `Login` with 81 lines of code (nakedret)
Lint
Process completed with exit code 2.
Test
Process completed with exit code 2.
Artifacts / Container image (alpine)
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/.