Skip to content

chore(deps): go mod tidy #505

chore(deps): go mod tidy

chore(deps): go mod tidy #505

Triggered via push December 18, 2024 19:59
Status Failure
Total duration 1m 19s
Artifacts

lint.yml

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

Annotations

36 errors and 7 warnings
lint / lint (ubuntu-latest): pkg.go#L16
var `registry` is unused (unused)
lint / lint (ubuntu-latest)
issues found
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 (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 (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 (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-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 (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