Skip to content

refactor: replace panic with error in rules #831

refactor: replace panic with error in rules

refactor: replace panic with error in rules #831

Triggered via pull request December 7, 2024 01:47
Status Failure
Total duration 1m 51s
Artifacts

test.yaml

on: pull_request
Tests on Windows
1m 34s
Tests on Windows
Matrix: Tests on Unix
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 2 warnings
Tests on Unix (oldstable): rule/context_as_argument.go#L22
r.configure(arguments) (no value) used as value
Tests on Unix (oldstable): rule/context_as_argument.go#L59
not enough return values
Tests on Unix (oldstable): rule/context_as_argument.go#L68
assignment mismatch: 1 variable but r.getAllowTypesFromArguments returns 2 values
Tests on Unix (oldstable): rule/cyclomatic.go#L65
not enough return values
Tests on Unix (oldstable): rule/function_length.go#L49
not enough return values
Tests on Unix (oldstable): rule/modifies_value_receiver.go#L51
not enough return values
Tests on Unix (oldstable): rule/unused_param.go#L29
not enough return values
Tests on Unix (oldstable): rule/unused_param.go#L36
not enough return values
Tests on Unix (oldstable): rule/unused_receiver.go#L27
not enough return values
Tests on Unix (stable): rule/context_as_argument.go#L22
r.configure(arguments) (no value) used as value
Tests on Unix (stable): rule/context_as_argument.go#L59
not enough return values
Tests on Unix (stable): rule/context_as_argument.go#L68
assignment mismatch: 1 variable but r.getAllowTypesFromArguments returns 2 values
Tests on Unix (stable): rule/cyclomatic.go#L65
not enough return values
Tests on Unix (stable): rule/function_length.go#L49
not enough return values
Tests on Unix (stable): rule/modifies_value_receiver.go#L51
not enough return values
Tests on Unix (stable): rule/unused_param.go#L29
not enough return values
Tests on Unix (stable): rule/unused_param.go#L36
not enough return values
Tests on Unix (stable): rule/unused_param.go#L49
missing return
Tests on Unix (stable): rule/unused_receiver.go#L27
not enough return values
Tests on Windows: rule/context_as_argument.go#L22
r.configure(arguments) (no value) used as value
Tests on Windows: rule/context_as_argument.go#L59
not enough return values
Tests on Windows: rule/context_as_argument.go#L68
assignment mismatch: 1 variable but r.getAllowTypesFromArguments returns 2 values
Tests on Windows: rule/cyclomatic.go#L65
not enough return values
Tests on Windows: rule/function_length.go#L49
not enough return values
Tests on Windows: rule/modifies_value_receiver.go#L51
not enough return values
Tests on Windows: rule/unused_param.go#L29
not enough return values
Tests on Windows: rule/unused_param.go#L36
not enough return values
Tests on Windows: rule/unused_param.go#L49
missing return
Tests on Windows: rule/unused_receiver.go#L27
not enough return values
Tests on Unix (oldstable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on Unix (stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636