Skip to content

Chore/optimize provider #186

Chore/optimize provider

Chore/optimize provider #186

Triggered via pull request May 15, 2024 07:54
Status Failure
Total duration 54s
Artifacts

tests.yml

on: pull_request
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 5 warnings
ut
missing go.sum entry for module providing package github.com/cloudwego/hertz/pkg/common/hlog (imported by github.com/hertz-contrib/logger/logrus); to add:
ut
Process completed with exit code 2.
lint module (./logging/logrus)
golangci-lint exit with code 3
lint module (./logging/zap)
The job was canceled because "_logging_logrus" failed.
lint module (./logging/zap): logging/zap/logger_test.go#L63
logger.Sync undefined (type *Logger has no field or method Sync) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L69
logger.Info undefined (type *Logger has no field or method Info) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L117
logger.Sync undefined (type *Logger has no field or method Sync) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L120
logger.SetOutput undefined (type *Logger has no field or method SetOutput) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L122
logger.Debug undefined (type *Logger has no field or method Debug) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L125
logger.SetLevel undefined (type *Logger has no field or method SetLevel) (typecheck)
lint module (./logging/zap): logging/zap/logger_test.go#L127
logger.Debugf undefined (type *Logger has no field or method Debugf) (typecheck)
lint module (./logging/zap): logging/zap/option_test.go#L27
l.GetExtraKeys undefined (type *Logger has no field or method GetExtraKeys) (typecheck)
lint module (./logging/zap)
issues found
lint module (./provider)
The job was canceled because "_logging_logrus" failed.
lint module (./provider)
The operation was canceled.
lint module (./tracing)
The job was canceled because "_logging_logrus" failed.
lint module (./tracing)
The operation was canceled.
lint module (./logging/zerolog)
The job was canceled because "_logging_logrus" failed.
lint module (./logging/zerolog)
The operation was canceled.
resolve module
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint module (.)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ut
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint module (./logging/logrus)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.