Skip to content

golangci: Enable all supported linters #745

golangci: Enable all supported linters

golangci: Enable all supported linters #745

Triggered via push October 30, 2024 15:58
Status Failure
Total duration 4m 21s
Artifacts

ci.yml

on: push
Matrix: test
lint
27s
lint
Check if man page has been regenerated
15s
Check if man page has been regenerated
allgreen
3s
allgreen
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
lint: cmd/fakemachine/main.go#L37
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: cmd/fakemachine/main.go#L84
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: cmd/fakemachine/main.go#L156
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: machine_test.go#L17
don't use `init` function (gochecknoinits)
lint: cpio/writerhelper.go#L178
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: decompressors.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
lint: machine.go#L425
assignOp: replace `m.count = m.count + 1` with `m.count++` (gocritic)
lint: backend.go#L10
Comment should end in a period (godot)
lint: machine.go#L52
Comment should end in a period (godot)
lint: machine.go#L61
Comment should end in a period (godot)
allgreen
Process completed with exit code 1.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fakemachine/fakemachine. Supported file pattern: go.sum