Skip to content

Linux: fix idle state detection #28

Linux: fix idle state detection

Linux: fix idle state detection #28

Triggered via push May 24, 2023 23:05
Status Failure
Total duration 20s
Artifacts

tests.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
tests (1.19): battery_test.go#L36
cannot use Charging (constant 3 of type AgnosticState) as type State in struct literal
tests (1.19): battery_test.go#L37
cannot use Charging (constant 3 of type AgnosticState) as type State in struct literal
tests (1.19): battery_test.go#L38
cannot use Unknown (constant 0 of type AgnosticState) as type State in struct literal
tests (1.19): battery_test.go#L42
undefined: newState
tests (1.19)
Process completed with exit code 2.
tests (1.18): battery_test.go#L36
cannot use Charging (constant 3 of type AgnosticState) as type State in struct literal
tests (1.18): battery_test.go#L37
cannot use Charging (constant 3 of type AgnosticState) as type State in struct literal
tests (1.18): battery_test.go#L38
cannot use Unknown (constant 0 of type AgnosticState) as type State in struct literal
tests (1.18): battery_test.go#L42
undefined: newState
tests (1.18)
Process completed with exit code 2.
tests (1.2)
Process completed with exit code 1.
tests (1.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/battery/battery. Supported file pattern: go.sum
tests (1.18)
Restore cache failed: Dependencies file is not found in /home/runner/work/battery/battery. Supported file pattern: go.sum
tests (1.2)
Restore cache failed: Could not get cache folder paths.