ci: add linter #392
Annotations
13 errors and 3 warnings
reviewdog:
pkg/client/lambda.go#L157
[golangci] reported by reviewdog 🐶
wrapperFunc: suggestion: if firstIntegers, firstDecimals, ok = strings.Cut(first, "."); ok { ... } (gocritic)
Raw Output:
pkg/client/lambda.go:157:2: wrapperFunc: suggestion: if firstIntegers, firstDecimals, ok = strings.Cut(first, "."); ok { ... } (gocritic)
if i := strings.Index(first, "."); i >= 0 {
^
|
reviewdog:
pkg/client/lambda.go#L161
[golangci] reported by reviewdog 🐶
wrapperFunc: suggestion: if secondIntegers, secondDecimals, ok = strings.Cut(second, "."); ok { ... } (gocritic)
Raw Output:
pkg/client/lambda.go:161:2: wrapperFunc: suggestion: if secondIntegers, secondDecimals, ok = strings.Cut(second, "."); ok { ... } (gocritic)
if i := strings.Index(second, "."); i >= 0 {
^
|
reviewdog
reviewdog exited with status code: 1
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
reviewdog
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage-report
|
6.71 KB |
|