Skip to content

chore(digital_ocean): refactor digital ocean provider and task to conform to new interfaces #465

chore(digital_ocean): refactor digital ocean provider and task to conform to new interfaces

chore(digital_ocean): refactor digital ocean provider and task to conform to new interfaces #465

Triggered via pull request January 16, 2025 19:41
Status Failure
Total duration 1m 16s
Artifacts

lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
golangci-lint (core): core/provider/docker/provider_test.go#L109
Error return value of `p.Teardown` is not checked (errcheck)
golangci-lint (core): core/provider/docker/provider_test.go#L186
Error return value of `p.Teardown` is not checked (errcheck)
golangci-lint (core): core/provider/docker/provider_test.go#L254
Error return value of `p1.Teardown` is not checked (errcheck)
golangci-lint (core): core/provider/docker/task.go#L106
func `(*Task).ensure` is unused (unused)
golangci-lint (core): core/provider/digitalocean/docker.go#L25
SA1019: types.ExecConfig is deprecated: use [container.ExecOptions]. (staticcheck)
golangci-lint (core): core/provider/digitalocean/docker.go#L26
SA1019: types.ExecStartCheck is deprecated: use [container.ExecStartOptions] or [container.ExecAttachOptions]. (staticcheck)
golangci-lint (core): core/provider/digitalocean/docker.go#L27
SA1019: types.ContainerExecInspect is deprecated: use [container.ExecInspect]. (staticcheck)
golangci-lint (core)
issues found
golangci-lint (cosmos)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint (cosmos)
Restore cache failed: Dependencies file is not found in /home/runner/work/petri/petri. Supported file pattern: go.sum
golangci-lint (core)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint (core)
Restore cache failed: Dependencies file is not found in /home/runner/work/petri/petri. Supported file pattern: go.sum