Skip to content

fix: query both stdin and stdout for background color on non-Windows … #1805

fix: query both stdin and stdout for background color on non-Windows …

fix: query both stdin and stdout for background color on non-Windows … #1805

Triggered via push October 30, 2024 15:14
Status Failure
Total duration 1m 25s
Artifacts

lint.yml

on: push
Matrix: lint / lint-soft
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 4 warnings
lint / lint (ubuntu-latest): query.go#L38
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint / lint (ubuntu-latest)
issues found
lint / lint-soft (ubuntu-latest): set.go#L708
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L714
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L720
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L741
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L747
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L753
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L774
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L780
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L786
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): color.go#L69
Magic number: 16, in <condition> detected (mnd)
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (windows-latest)
The operation was canceled.
lint / lint-soft (macos-latest): set.go#L708
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L714
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L720
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L741
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L747
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L753
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L774
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L780
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L786
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): color.go#L69
Magic number: 16, in <condition> detected (mnd)
lint / lint-soft (windows-latest): set.go#L708
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L714
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L720
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L741
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L747
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L753
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L774
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L780
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L786
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): color.go#L69
Magic number: 16, in <condition> detected (mnd)
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum