Skip to content

WIP: fix(table): improve resizing algorithm #2049

WIP: fix(table): improve resizing algorithm

WIP: fix(table): improve resizing algorithm #2049

Triggered via push February 14, 2025 19:55
Status Failure
Total duration 1m 9s
Artifacts

lint.yml

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

Annotations

39 errors and 7 warnings
lint / lint-soft (ubuntu-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L785
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L791
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): align.go#L33
Magic number: 2, in <operation> detected (mnd)
lint / lint (ubuntu-latest): table/table.go#L402
func `(*Table).computeWidth` is unused (unused)
lint / lint (ubuntu-latest): table/util.go#L24
func `min` is unused (unused)
lint / lint (ubuntu-latest): table/util.go#L41
func `median` is unused (unused)
lint / lint (ubuntu-latest): table/util.go#L55
func `largest` is unused (unused)
lint / lint (ubuntu-latest)
issues found
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (macos-latest)
The operation was canceled.
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): table/resizing.go#L76
table/resizing.go:76: Line contains TODO/BUG/FIXME: "FIXME(@andreynering): Make it work for c..." (godox)
lint / lint-soft (macos-latest): table/util.go#L48
Magic number: 2, in <operation> detected (mnd)
lint / lint-soft (macos-latest): table/util.go#L49
Magic number: 2, in <return> detected (mnd)
lint / lint-soft (macos-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): table/resizing.go#L76
\table\resizing.go:76: Line contains TODO/BUG/FIXME: "FIXME(@andreynering): Make it work for c..." (godox)
lint / lint-soft (windows-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L785
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L791
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 (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/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)
Cache not found for keys: golangci-lint.cache-Windows-charmbracelet/lipgloss-2876-c8f1118c7e1d1c437ae4b79e858c346a2f2ea89f, golangci-lint.cache-Windows-charmbracelet/lipgloss-2876-
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists