Skip to content

fix(deps): roll back module github.com/metal-toolbox/conditionorc to v1.0.1 - autoclosed #1007

fix(deps): roll back module github.com/metal-toolbox/conditionorc to v1.0.1 - autoclosed

fix(deps): roll back module github.com/metal-toolbox/conditionorc to v1.0.1 - autoclosed #1007

Triggered via pull request November 29, 2023 14:37
Status Failure
Total duration 38s
Artifacts

push-pr-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint-test: cmd/run.go#L13
could not import github.com/metal-toolbox/flasher/internal/worker (-: # github.com/metal-toolbox/flasher/internal/worker
lint-test: internal/worker/worker.go#L531
cannot use rctypes.FirmwareInstall (constant "firmwareInstall" of type condition.Kind) as "github.com/metal-toolbox/conditionorc/pkg/types".ConditionKind value in struct literal
lint-test: internal/worker/worker.go#L535
cannot use rctypes.State(task.State()) (value of type condition.State) as "github.com/metal-toolbox/conditionorc/pkg/types".ConditionState value in struct literal) (typecheck)
lint-test: internal/worker/kv_status.go#L1
: # github.com/metal-toolbox/flasher/internal/worker [github.com/metal-toolbox/flasher/internal/worker.test]
lint-test: internal/worker/worker.go#L531
cannot use rctypes.FirmwareInstall (constant "firmwareInstall" of type condition.Kind) as "github.com/metal-toolbox/conditionorc/pkg/types".ConditionKind value in struct literal
lint-test: internal/worker/worker.go#L535
cannot use rctypes.State(task.State()) (value of type condition.State) as "github.com/metal-toolbox/conditionorc/pkg/types".ConditionState value in struct literal (typecheck)
lint-test
issues found
lint-test
Restore cache failed: Dependencies file is not found in /home/runner/work/flasher/flasher. Supported file pattern: go.sum