Skip to content

fix(gomod): use git-module fork #520

fix(gomod): use git-module fork

fix(gomod): use git-module fork #520

Triggered via push November 1, 2023 15:47
Status Success
Total duration 40s
Artifacts

lint-soft.yml

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

Annotations

10 errors and 1 warning
lint-soft: pkg/cron/cron.go#L42
mnd: Magic number: 30, in <argument> detected (gomnd)
lint-soft: pkg/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: pkg/config/config.go#L159
pkg/config/config.go:159: Line contains TODO/BUG/FIXME: "TODO: do this dynamically" (godox)
lint-soft: go.mod#L5
replacement are not allowed: github.com/gogs/git-module (gomoddirectives)
lint-soft: pkg/config/config.go#L268
mnd: Magic number: 0o644, in <argument> detected (gomnd)
lint-soft: pkg/config/config.go#L316
mnd: Magic number: 10, in <assign> detected (gomnd)
lint-soft: pkg/config/config.go#L322
mnd: Magic number: 3, in <assign> detected (gomnd)
lint-soft: pkg/config/config.go#L323
mnd: Magic number: 32, in <assign> detected (gomnd)
lint-soft: pkg/config/config.go#L210
error returned from external package is unwrapped: sig: func os.Open(name string) (*os.File, error) (wrapcheck)
lint-soft: pkg/config/config.go#L266
error returned from external package is unwrapped: sig: func os.MkdirAll(path string, perm io/fs.FileMode) 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