add github workflows #1
Annotations
12 errors and 4 warnings
|
Test Coverage
This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
|
Security Scan
Process completed with exit code 1.
|
|
Code Quality:
internal/docker/client.go#L91
cognitive complexity 66 of func `(*Client).applyProjectConfigToArgs` is high (> 15) (gocognit)
|
|
Code Quality:
internal/commands/maintenance.go#L596
Error return value of `dockerClient.StopBox` is not checked (errcheck)
|
|
Code Quality:
internal/commands/maintenance.go#L440
Error return value of `dockerClient.StopBox` is not checked (errcheck)
|
|
Code Quality:
internal/commands/init.go#L130
Error return value of `json.Unmarshal` is not checked (errcheck)
|
|
Code Quality:
internal/commands/init.go#L120
Error return value of `dockerClient.StopBox` is not checked (errcheck)
|
|
Code Quality:
internal/config/config.go#L283
Error return value of `json.Unmarshal` is not checked (errcheck)
|
|
Code Quality:
internal/commands/cleanup.go#L335
335-367 lines are duplicate of `internal/commands/cleanup.go:233-265` (dupl)
|
|
Code Quality:
internal/commands/cleanup.go#L301
301-333 lines are duplicate of `internal/commands/cleanup.go:335-367` (dupl)
|
|
Code Quality:
internal/commands/cleanup.go#L267
267-367 lines are duplicate of `internal/commands/cleanup.go:233-333` (dupl)
|
|
Code Quality:
internal/commands/cleanup.go#L233
233-333 lines are duplicate of `internal/commands/cleanup.go:267-367` (dupl)
|
|
Code Quality
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0Ni3KaAAAAACUDmLouY1bTaxLRf0GQzcDQkwyQUEyMDMwMTA4MDI5AEVkZ2U=
|
|
Code Quality:
internal/config/config.go#L68
exported: type name will be used as config.ConfigManager by other packages, and that is repetitive; consider calling this Manager (revive)
|
|
Code Quality:
internal/config/config.go#L62
exported: type name will be used as config.ConfigTemplate by other packages, and that is repetitive; consider calling this Template (revive)
|
|
Code Quality
Failed to restore: Cache service responded with 400
|