Skip to content

enhanced test suite #3347

enhanced test suite

enhanced test suite #3347

Triggered via pull request December 4, 2024 15:21
Status Failure
Total duration 1m 23s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: integration_tests/commands/tests/aggregator.go#L58
paramTypeCombine: func(t *testing.T, kind string, expected interface{}, actual interface{}) could be replaced with func(t *testing.T, kind string, expected, actual interface{}) (gocritic)
lint: integration_tests/commands/tests/parsers/common.go#L5
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
lint: integration_tests/commands/tests/parsers/common.go#L5
S1034: assigning the result of this type assertion to a variable (switch response := response.(type)) could eliminate type assertions in switch cases (gosimple)
lint: integration_tests/commands/tests/parsers/common.go#L7
S1034(related information): could eliminate this type assertion (gosimple)
lint: integration_tests/commands/tests/parsers/http.go#L9
ST1003: func HttpCommandExecuter should be HTTPCommandExecuter (stylecheck)
lint: integration_tests/commands/tests/parsers/http.go#L25
ST1003: var diceHttpCmd should be diceHTTPCmd (stylecheck)
lint: integration_tests/commands/tests/servers/resp.go#L81
Error return value of `ctx.Err` is not checked (errcheck)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636