Skip to content

ci: add linter

ci: add linter #392

Triggered via pull request August 16, 2024 11:07
@go-to-kgo-to-k
synchronize #225
ci-lint
Status Failure
Total duration 41s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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