Skip to content

[WIP]refactor:Soft connect logger to cwgo-pkg #165

[WIP]refactor:Soft connect logger to cwgo-pkg

[WIP]refactor:Soft connect logger to cwgo-pkg #165

Triggered via pull request October 22, 2024 12:57
Status Failure
Total duration 5m 49s
Artifacts

pr-check.yml

on: pull_request
resolve module
8s
resolve module
compliant
20s
compliant
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
lint module (./accesslog): accesslog/example/main.go#L26
could not import github.com/hertz-contrib/logger/accesslog (-: # github.com/hertz-contrib/logger/accesslog
lint module (./accesslog)
unsafe.StringData requires go1.20 or later (-lang was set to go1.16; check go.mod)) (typecheck)
lint module (./accesslog): accesslog/accesslog.go#L1
: # github.com/hertz-contrib/logger/accesslog [github.com/hertz-contrib/logger/accesslog.test]
lint module (./accesslog)
unsafe.StringData requires go1.20 or later (-lang was set to go1.16; check go.mod) (typecheck)
lint module (./accesslog)
issues found
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 (./slog)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./logrus)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./zap)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./zerolog)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./accesslog)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint module (./accesslog)
Failed to download action 'https://api.github.com/repos/actions/setup-go/tarball/93397bea11091df50f3d7e59dc26a7711a8bcfbe'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
lint module (./accesslog)
Back off 10.634 seconds before retry.
lint module (./accesslog)
Failed to download action 'https://api.github.com/repos/actions/setup-go/tarball/93397bea11091df50f3d7e59dc26a7711a8bcfbe'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
lint module (./accesslog)
Back off 15.874 seconds before retry.