Skip to content

Fix tests, skip ssh-ifs test, update git-lfs-transfer, and other dependencies #789

Fix tests, skip ssh-ifs test, update git-lfs-transfer, and other dependencies

Fix tests, skip ssh-ifs test, update git-lfs-transfer, and other dependencies #789

Triggered via pull request July 31, 2024 19:07
Status Success
Total duration 21s
Artifacts

lint-soft.yml

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

Annotations

6 errors and 1 warning
lint-soft: pkg/git/lfs.go#L120
error returned from external package is unwrapped: sig: func (*github.com/charmbracelet/soft-serve/pkg/storage.LocalStorage).Open(name string) (github.com/charmbracelet/soft-serve/pkg/storage.Object, error) (wrapcheck)
lint-soft: pkg/git/lfs.go#L124
error returned from interface method should be wrapped: sig: func (io/fs.File).Stat() (io/fs.FileInfo, error) (wrapcheck)
lint-soft: pkg/git/lfs.go#L138
error returned from external package is unwrapped: sig: func crypto/rand.Read(b []byte) (n int, err error) (wrapcheck)
lint-soft: pkg/git/lfs.go#L147
error returned from interface method should be wrapped: sig: func (github.com/charmbracelet/soft-serve/pkg/storage.Storage).Put(name string, r io.Reader) (int64, error) (wrapcheck)
lint-soft: pkg/git/lfs.go#L153
error returned from interface method should be wrapped: sig: func (github.com/charmbracelet/soft-serve/pkg/storage.Storage).Open(name string) (github.com/charmbracelet/soft-serve/pkg/storage.Object, error) (wrapcheck)
lint-soft: cmd/soft/serve/serve.go#L112
Magic number: 5, in <argument> detected (mnd)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/soft-serve/soft-serve. Supported file pattern: go.sum