Skip to content

Revert "fix: cleanup" #101

Revert "fix: cleanup"

Revert "fix: cleanup" #101

Triggered via push July 26, 2023 19:45
Status Success
Total duration 32s
Artifacts

lint-soft.yml

on: push
lint-soft
21s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: server/sshutils/utils.go#L14
error returned from external package is unwrapped: sig: func golang.org/x/crypto/ssh.ParseAuthorizedKey(in []byte) (out golang.org/x/crypto/ssh.PublicKey, comment string, options []string, rest []byte, err error) (wrapcheck)
lint-soft: server/jwk/jwk.go#L37
error returned from external package is unwrapped: sig: func (github.com/charmbracelet/soft-serve/server/config.SSHConfig).KeyPair() (*github.com/charmbracelet/keygen.SSHKeyPair, error) (wrapcheck)
lint-soft: git/patch.go#L135
Comment should end in a period (godot)
lint-soft: git/utils.go#L32
`if g.Match(fp)` has complex nested blocks (complexity: 6) (nestif)
lint-soft: git/patch.go#L29
missing cases in switch of type git.DiffLineType: git.DiffLinePlain, git.DiffLineSection (exhaustive)
lint-soft: git/patch.go#L67
missing cases in switch of type git.DiffLineType: git.DiffLinePlain, git.DiffLineSection (exhaustive)
lint-soft: git/tree.go#L169
missing cases in switch of type git.EntryMode: git.EntryBlob, git.EntryExec, git.EntrySymlink, git.EntryCommit (exhaustive)
lint-soft: git/attr.go#L50
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: git/attr.go#L51
mnd: Magic number: 2, in <condition> detected (gomnd)
lint-soft: git/attr.go#L29
error returned from external package is unwrapped: sig: func (*github.com/gogs/git-module.Command).RunInDir(dir string) ([]byte, error) (wrapcheck)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum