Skip to content

Main tests (#83)

Main tests (#83) #619

Triggered via push August 22, 2024 10:20
Status Failure
Total duration 4m 2s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
lint: basedirs/db.go#L271
cognitive complexity 10 of func `(*BaseDirs).gidsToMountpoints` is high (> 9) (gocognit)
lint: cmd/where.go#L419
`humanize` is a misspelling of `humanise` (misspell)
lint: summary/dirgut.go#L352
`if info.IsDir()` has complex nested blocks (complexity: 2) (nestif)
lint: basedirs/db.go#L325
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
lint: ch/ch.go#L44
const `modePermUser` is unused (unused)
lint: ch/ch.go#L45
const `modePermGroup` is unused (unused)
lint: ch/ch.go#L46
const `modePermUserToGroupShift` is unused (unused)
lint: ch/ch.go#L47
const `modeUserExecutable` is unused (unused)
lint: ch/ch.go#L48
const `modeGroupExecutable` is unused (unused)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: neaten/neaten.go#L342
unused-parameter: parameter 'de' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cron.go#L65
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cron.go#L85
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/stat.go#L170
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/chtsv.go#L46
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/where.go#L150
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cleanup.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/multi.go#L143
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/walk.go#L88
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)