Skip to content

feat: browse local repositories #449

feat: browse local repositories

feat: browse local repositories #449

Triggered via pull request October 23, 2023 21:12
@aymanbagabasaymanbagabas
synchronize #369
browse
Status Success
Total duration 36s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint-soft.yml

on: pull_request
lint-soft
25s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: server/ui/common/component.go#L16
Comment should end in a period (godot)
lint-soft: server/ui/components/code/code.go#L117
server/ui/components/code/code.go:117: Line contains TODO/BUG/FIXME: "TODO: solve this upstream in Glamour/Ref..." (godox)
lint-soft: cmd/soft/browse.go#L64
cmd/soft/browse.go:64: Line contains TODO/BUG/FIXME: "TODO: Make this configurable" (godox)
lint-soft: server/ui/pages/repo/refsitem.go#L133
`if isTag` has complex nested blocks (complexity: 13) (nestif)
lint-soft: server/ui/pages/repo/repo.go#L215
`if r.state == loadingState && r.spinner.ID() == msg.ID` has complex nested blocks (complexity: 5) (nestif)
lint-soft: cmd/soft/browse.go#L103
missing cases in switch of type main.state: main.startState (exhaustive)
lint-soft: cmd/soft/browse.go#L117
missing cases in switch of type main.state: main.startState (exhaustive)
lint-soft: cmd/soft/browse.go#L173
missing cases in switch of type tea.MouseEventType: tea.MouseUnknown, tea.MouseRight, tea.MouseMiddle, tea.MouseRelease, tea.MouseWheelUp, tea.MouseWheelDown, tea.MouseMotion (exhaustive)
lint-soft: server/ui/styles/styles.go#L243
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: server/ui/pages/repo/refsitem.go#L158
mnd: Magic number: 3, in <operation> detected (gomnd)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum