Skip to content

chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.8.0 #9

chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.8.0

chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.8.0 #9

Triggered via pull request May 10, 2024 19:55
Status Failure
Total duration 1m 0s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 warnings
test (oldstable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L118
G306: Expect WriteFile permissions to be 0600 or less (gosec)
test (oldstable, ubuntu-latest): tui/bubbles/output/output.go#L99
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (oldstable, ubuntu-latest): tui/bubbles/output/output.go#L101
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (oldstable, ubuntu-latest): tui/bubbles/queryinput/queryinput.go#L69
cyclomatic: function (Bubble).Update has cyclomatic complexity 9 (> max enabled 5) (revive)
test (oldstable, ubuntu-latest): tui/bubbles/queryinput/queryinput.go#L69
cognitive-complexity: function (Bubble).Update has cognitive complexity 15 (> max enabled 7) (revive)
test (oldstable, ubuntu-latest): tui/utils/terminal.go#L9
cyclomatic: function getTerminalColorSupport has cyclomatic complexity 6 (> max enabled 5) (revive)
test (oldstable, ubuntu-latest): tui/utils/json.go#L62
cyclomatic: function prettifyJSON has cyclomatic complexity 6 (> max enabled 5) (revive)
test (oldstable, ubuntu-latest): tui/bubbles/help/help.go#L70
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (oldstable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L40
cyclomatic: function (*Bubble).executeQuery has cyclomatic complexity 12 (> max enabled 5) (revive)
test (oldstable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L40
cognitive-complexity: function (*Bubble).executeQuery has cognitive complexity 35 (> max enabled 7) (revive)
test (stable, ubuntu-latest)
The job was canceled because "oldstable_ubuntu-latest" failed.
test (stable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L118
G306: Expect WriteFile permissions to be 0600 or less (gosec)
test (stable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L40
cognitive-complexity: function (*Bubble).executeQuery has cognitive complexity 35 (> max enabled 7) (revive)
test (stable, ubuntu-latest): tui/bubbles/jqplayground/update.go#L37
cognitive-complexity: function (Bubble).Update has cognitive complexity 42 (> max enabled 7) (revive)
test (stable, ubuntu-latest): tui/bubbles/jqplayground/commands.go#L40
cyclomatic: function (*Bubble).executeQuery has cyclomatic complexity 12 (> max enabled 5) (revive)
test (stable, ubuntu-latest): tui/bubbles/jqplayground/update.go#L37
cyclomatic: function (Bubble).Update has cyclomatic complexity 39 (> max enabled 5) (revive)
test (stable, ubuntu-latest): tui/theme/theme.go#L51
SA1019: styles.ParaisoLight is deprecated: use styles.Get(name) instead. (staticcheck)
test (stable, ubuntu-latest): tui/theme/theme.go#L54
SA1019: styles.Vim is deprecated: use styles.Get(name) instead. (staticcheck)
test (stable, ubuntu-latest): tui/bubbles/help/help.go#L70
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (stable, ubuntu-latest): tui/utils/terminal.go#L9
cyclomatic: function getTerminalColorSupport has cyclomatic complexity 6 (> max enabled 5) (revive)
test (stable, ubuntu-latest): tui/utils/json.go#L62
cyclomatic: function prettifyJSON has cyclomatic complexity 6 (> max enabled 5) (revive)
test (oldstable, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/jqp/jqp. Supported file pattern: go.sum
test (stable, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/jqp/jqp. Supported file pattern: go.sum