Skip to content

chore: remove provider reference from task struct #469

chore: remove provider reference from task struct

chore: remove provider reference from task struct #469

Triggered via pull request January 17, 2025 02:47
Status Failure
Total duration 1m 25s
Artifacts

lint.yml

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

Annotations

9 errors and 4 warnings
golangci-lint (core): core/provider/digitalocean/provider.go#L41
field `petriTag` is unused (unused)
golangci-lint (core): core/provider/digitalocean/provider.go#L42
field `userIPs` is unused (unused)
golangci-lint (core): core/provider/digitalocean/provider.go#L43
field `sshKeyPair` is unused (unused)
golangci-lint (core): core/provider/digitalocean/provider.go#L44
field `firewallID` is unused (unused)
golangci-lint (core): core/provider/docker_client.go#L116
SA1019: types.ExecConfig is deprecated: use [container.ExecOptions]. (staticcheck)
golangci-lint (core): core/provider/docker_client.go#L120
SA1019: types.ExecStartCheck is deprecated: use [container.ExecStartOptions] or [container.ExecAttachOptions]. (staticcheck)
golangci-lint (core): core/provider/docker_client.go#L124
SA1019: types.ContainerExecInspect is deprecated: use [container.ExecInspect]. (staticcheck)
golangci-lint (core): core/provider/docker_client.go#L144
SA1019: types.ContainerPathStat is deprecated: use [container.PathStat]. (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