Skip to content

feat: add impure package #1810

feat: add impure package

feat: add impure package #1810

Triggered via push October 31, 2024 19:38
Status Failure
Total duration 59s
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 (macos-latest): impure/color.go#L55
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-soft (ubuntu-latest): impure/color.go#L55
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 (macos-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 (macos-latest)
issues found
lint / lint (ubuntu-latest)
The job was canceled because "macos-latest" failed.
lint / lint (ubuntu-latest)
The operation was canceled.
lint / lint (windows-latest)
The job was canceled because "macos-latest" failed.
lint / lint (windows-latest)
The operation was canceled.
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-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 (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/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 (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/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