Skip to content

feat: async safe for i18n #21

feat: async safe for i18n

feat: async safe for i18n #21

Triggered via pull request December 31, 2023 08:01
Status Failure
Total duration 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pr-check.yml

on: pull_request

Annotations

4 errors and 1 warning
compliant
Process completed with exit code 1.
staticcheck: example/main.go#L67
[staticcheck] reported by reviewdog 🐶 hertzI18n.MustGetMessage is deprecated: This method is not thread-safe. please use CtxMustGetMessage Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"hertzI18n.MustGetMessage is deprecated: This method is not thread-safe. please use CtxMustGetMessage ","code":{"value":"SA1019","url":"https://staticcheck.io/docs/checks#SA1019"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-06/i18n/i18n/example/main.go","range":{"start":{"line":67,"column":19}}},"severity":"ERROR"}
staticcheck: example/main.go#L75
[staticcheck] reported by reviewdog 🐶 hertzI18n.MustGetMessage is deprecated: This method is not thread-safe. please use CtxMustGetMessage Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"hertzI18n.MustGetMessage is deprecated: This method is not thread-safe. please use CtxMustGetMessage ","code":{"value":"SA1019","url":"https://staticcheck.io/docs/checks#SA1019"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-06/i18n/i18n/example/main.go","range":{"start":{"line":75,"column":19}}},"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
compliant
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.