Skip to content

fixup return error

fixup return error #29

Triggered via push February 25, 2025 03:07
Status Failure
Total duration 2m 44s
Artifacts

gotest.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test-go: cli/plan.go#L51
fmt.Errorf format %w has arg cmd.ProcessState of wrong type *os.ProcessState
test-go: types/parameter_test.go#L54
unknown field Validation in struct literal of type "github.com/coder/preview/types".RichParameter
test-go: types/parameter_test.go#L57
cannot use int32(randomInt(src, 0, 10)) (value of type int32) as int64 value in struct literal
test-go: types/parameter_test.go#L76
cannot use minVal (variable of type *int32) as *int64 value in struct literal
test-go: types/parameter_test.go#L77
cannot use maxVal (variable of type *int32) as *int64 value in struct literal
test-go: cli/plan.go#L51
fmt.Errorf format %w has arg cmd.ProcessState of wrong type *os.ProcessState
test-go: types/parameter_test.go#L54
unknown field Validation in struct literal of type "github.com/coder/preview/types".RichParameter
test-go: types/parameter_test.go#L57
cannot use int32(randomInt(src, 0, 10)) (value of type int32) as int64 value in struct literal
test-go: types/parameter_test.go#L76
cannot use minVal (variable of type *int32) as *int64 value in struct literal
test-go: types/parameter_test.go#L77
cannot use maxVal (variable of type *int32) as *int64 value in struct literal
test-go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2