Skip to content

feat: complete color support #1814

feat: complete color support

feat: complete color support #1814

Triggered via push October 31, 2024 19:48
Status Failure
Total duration 1m 12s
Artifacts

lint.yml

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

Annotations

36 errors and 5 warnings
lint / lint-soft (ubuntu-latest): color.go#L216
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
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 (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 (macos-latest): color.go#L216
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
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 (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (windows-latest)
The operation was canceled.
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (macos-latest)
The operation was canceled.
lint / lint-soft (windows-latest): color.go#L216
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
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 (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
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 (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (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