Skip to content

Prepare linter for golangci-lint #27

Prepare linter for golangci-lint

Prepare linter for golangci-lint #27

Triggered via pull request November 16, 2023 00:55
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: factory.go#L11
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: factory.go#L236
ranges should only be cuddled with assignments used in the iteration (wsl)
lint: factory.go#L244
return statements should not be cuddled if block has more than two lines (wsl)
lint
issues found
test
Restore cache failed: Dependencies file is not found in /home/runner/work/go-factory-lint/go-factory-lint. Supported file pattern: go.sum
lint: factory.go#L239
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-factory-lint/go-factory-lint. Supported file pattern: go.sum