fix remote buildkit error: [415: Unsupported Media Type] #1315
Triggered via pull request
September 18, 2024 15:55
Status
Failure
Total duration
5m 36s
Artifacts
–
Annotations
9 errors and 3 warnings
lint:
pkg/devspace/build/builder/custom/custom.go#L43
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
lint:
cmd/cleanup/images.go#L79
S1009: should omit nil check; len() for map[string]*github.com/loft-sh/devspace/pkg/devspace/config/versions/latest.Image is defined as zero (gosimple)
|
lint:
cmd/list/ports.go#L71
S1009: should omit nil check; len() for []*github.com/loft-sh/devspace/pkg/devspace/config/versions/latest.PortMapping is defined as zero (gosimple)
|
lint:
cmd/list/sync.go#L60
S1009: should omit nil check; len() for []*github.com/loft-sh/devspace/pkg/devspace/config/versions/latest.SyncConfig is defined as zero (gosimple)
|
lint:
pkg/devspace/deploy/deploy.go#L62
S1009: should omit nil check; len() for map[string]*github.com/loft-sh/devspace/pkg/devspace/config/versions/latest.DeploymentConfig is defined as zero (gosimple)
|
lint:
pkg/devspace/hook/hook.go#L108
S1009: should omit nil check; len() for []*github.com/loft-sh/devspace/pkg/devspace/config/versions/latest.HookConfig is defined as zero (gosimple)
|
lint:
pkg/util/log/file_logger.go#L124
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Logger).Debugf (govet)
|
lint:
pkg/devspace/config/loader/loader.go#L153
printf: non-constant format string in call to fmt.Errorf (govet)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/devspace/devspace. Supported file pattern: go.sum
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|