Skip to content

log conditionally when not a zap.Logger #150

log conditionally when not a zap.Logger

log conditionally when not a zap.Logger #150

Re-run triggered March 23, 2024 00:12
Status Failure
Total duration 2m 59s
Artifacts

go.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
lint: zap.go#L117
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: zap.go#L170
directive `// nolint: errcheck` should be written without leading space as `//nolint: errcheck` (nolintlint)
lint
issues found
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
ubuntu-latest @ Go 1.22
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/zap/zap. Supported file pattern: go.sum
macos-latest @ Go
Restore cache failed: Dependencies file is not found in /Users/runner/work/zap/zap. Supported file pattern: go.sum