Add linters to makefile/github actions #10
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
8 errors and 3 warnings
lint:
git-sync/main.go#L480
Error return value of `pflag.CommandLine.MarkDeprecated` is not checked (errcheck)
|
lint:
git-sync/main.go#L483
Error return value of `pflag.CommandLine.MarkDeprecated` is not checked (errcheck)
|
lint:
git-sync/main.go#L486
Error return value of `pflag.CommandLine.MarkDeprecated` is not checked (errcheck)
|
lint:
git-sync/main.go#L1897
Error return value of `io.WriteString` is not checked (errcheck)
|
lint:
git-sync/main.go#L555
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
git-sync/pkg/pid1/pid1.go#L72
ST1005: error strings should not end with punctuation or newlines (stylecheck)
|
lint:
git-sync/pkg/pid1/pid1.go#L86
ST1005: error strings should not end with punctuation or newlines (stylecheck)
|
lint
issues found
|
build
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.sum
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.sum
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/git-sync/git-sync. Supported file pattern: go.sum
|