Skip to content

feat: use lipgloss/v2 (#149) #509

feat: use lipgloss/v2 (#149)

feat: use lipgloss/v2 (#149) #509

Triggered via push December 18, 2024 20:12
Status Success
Total duration 1m 50s
Artifacts

lint.yml

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

Annotations

30 errors and 8 warnings
lint / lint-soft (ubuntu-latest): text.go#L24
`if nl == -1` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (ubuntu-latest): json.go#L83
missing cases in switch of type slog.Kind: slog.KindAny, slog.KindBool, slog.KindDuration, slog.KindFloat64, slog.KindInt64, slog.KindString, slog.KindTime, slog.KindUint64, slog.KindLogValuer (exhaustive)
lint / lint-soft (ubuntu-latest): level.go#L30
missing cases in switch of type log.Level: log.noLevel (exhaustive)
lint / lint-soft (ubuntu-latest): logger.go#L124
missing cases in switch of type log.Formatter: log.TextFormatter (exhaustive)
lint / lint-soft (ubuntu-latest): stdlog.go#L17
missing cases in switch of type log.Level: log.FatalLevel, log.noLevel (exhaustive)
lint / lint-soft (ubuntu-latest): logger.go#L66
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): logger.go#L154
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): logger.go#L167
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): logger_121.go#L37
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): logger_121.go#L53
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): text.go#L24
`if nl == -1` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (macos-latest): json.go#L83
missing cases in switch of type slog.Kind: slog.KindAny, slog.KindBool, slog.KindDuration, slog.KindFloat64, slog.KindInt64, slog.KindString, slog.KindTime, slog.KindUint64, slog.KindLogValuer (exhaustive)
lint / lint-soft (macos-latest): level.go#L30
missing cases in switch of type log.Level: log.noLevel (exhaustive)
lint / lint-soft (macos-latest): logger.go#L124
missing cases in switch of type log.Formatter: log.TextFormatter (exhaustive)
lint / lint-soft (macos-latest): stdlog.go#L17
missing cases in switch of type log.Level: log.FatalLevel, log.noLevel (exhaustive)
lint / lint-soft (macos-latest): logger.go#L66
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): logger.go#L154
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): logger.go#L167
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): logger_121.go#L37
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (macos-latest): logger_121.go#L53
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): text.go#L24
`if nl == -1` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (windows-latest): json.go#L83
missing cases in switch of type slog.Kind: slog.KindAny, slog.KindBool, slog.KindDuration, slog.KindFloat64, slog.KindInt64, slog.KindString, slog.KindTime, slog.KindUint64, slog.KindLogValuer (exhaustive)
lint / lint-soft (windows-latest): level.go#L30
missing cases in switch of type log.Level: log.noLevel (exhaustive)
lint / lint-soft (windows-latest): logger.go#L124
missing cases in switch of type log.Formatter: log.TextFormatter (exhaustive)
lint / lint-soft (windows-latest): stdlog.go#L17
missing cases in switch of type log.Level: log.FatalLevel, log.noLevel (exhaustive)
lint / lint-soft (windows-latest): logger.go#L66
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): logger.go#L154
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): logger.go#L167
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): logger_121.go#L37
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (windows-latest): logger_121.go#L53
Magic number: 2, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/log/log. Supported file pattern: go.sum
lint / lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/log/log. Supported file pattern: go.sum
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/log/log. Supported file pattern: go.sum
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/log/log. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\log\log. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\log\log. Supported file pattern: go.sum