Skip to content

Add file with linter warning to test linter #18

Add file with linter warning to test linter

Add file with linter warning to test linter #18

Triggered via pull request March 7, 2024 07:13
Status Failure
Total duration 27s
Artifacts

go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
linter: pkg/linter_error.go#L7
Error return value of `json.Marshal` is not checked (errcheck)
linter
issues found
File test coverage below threshold: pkg/linter_error.go#L1
File test coverage below threshold: coverage: 0%; threshold: 80%
File test coverage below threshold: pkg/logger/formatter/formatter.go#L1
File test coverage below threshold: coverage: 0%; threshold: 80%
File test coverage below threshold: pkg/logger/handler/handler.go#L1
File test coverage below threshold: coverage: 0%; threshold: 80%
File test coverage below threshold: pkg/logger/logger.go#L1
File test coverage below threshold: coverage: 0%; threshold: 80%
File test coverage below threshold: pkg/logger/loglevel/loglevel.go#L1
File test coverage below threshold: coverage: 0%; threshold: 80%
Package test coverage below threshold
Package test coverage below threshold: package: pkg; coverage: 0%; threshold: 80%
Package test coverage below threshold
Package test coverage below threshold: package: pkg/logger/formatter; coverage: 0%; threshold: 80%
Package test coverage below threshold
Package test coverage below threshold: package: pkg/logger/handler; coverage: 0%; threshold: 80%
Package test coverage below threshold
Package test coverage below threshold: package: pkg/logger; coverage: 0%; threshold: 80%
Package test coverage below threshold
Package test coverage below threshold: package: pkg/logger/loglevel; coverage: 0%; threshold: 80%
linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
linter
Restore cache failed: Dependencies file is not found in /home/runner/work/go-logging/go-logging. Supported file pattern: go.sum
benchmark
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
benchmark
Restore cache failed: Dependencies file is not found in /home/runner/work/go-logging/go-logging. Supported file pattern: go.sum
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Restore cache failed: Dependencies file is not found in /home/runner/work/go-logging/go-logging. Supported file pattern: go.sum