Skip to content

[WIP]refactor: softly connect to cloudwego-contrib/cwgo-pkg #38

[WIP]refactor: softly connect to cloudwego-contrib/cwgo-pkg

[WIP]refactor: softly connect to cloudwego-contrib/cwgo-pkg #38

Triggered via pull request October 23, 2024 10:25
Status Failure
Total duration 3m 57s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
compliant
Process completed with exit code 8.
staticcheck
too many errors\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/kitex-contrib/config-apollo/apollo [github.com/kitex-contrib/config-apollo/apollo.test] apollo/apollo_test.go:67:34: undefined: configParamKey apollo/apollo_test.go:82:10: undefined: client apollo/apollo_test.go:85:22: undefined: configParamKey apollo/apollo_test.go:89:19: undefined: configParamKey apollo/apollo_test.go:90:15: undefined: configParamKey apollo/apollo_test.go:108:4: unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam apollo/apollo_test.go:134:4: unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam apollo/apollo_test.go:152:14: undefined: configParamKey apollo/apollo_test.go:162:22: undefined: configParamKey apollo/apollo_test.go:175:3: unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam apollo/apollo_test.go:175:3: too many errors note: module requires Go 1.21 Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/kitex-contrib/config-apollo/apollo [github.com/kitex-contrib/config-apollo/apollo.test]\napollo/apollo_test.go:67:34: undefined: configParamKey\napollo/apollo_test.go:82:10: undefined: client\napollo/apollo_test.go:85:22: undefined: configParamKey\napollo/apollo_test.go:89:19: undefined: configParamKey\napollo/apollo_test.go:90:15: undefined: configParamKey\napollo/apollo_test.go:108:4: unknown field 'nameSpace' in struct literal of type \"github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo\".ConfigParam\napollo/apollo_test.go:134:4: unknown field 'nameSpace' in struct literal of type \"github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo\".ConfigParam\napollo/apollo_test.go:152:14: undefined: configParamKey\napollo/apollo_test.go:162:22: undefined: configParamKey\napollo/apollo_test.go:175:3: unknown field 'nameSpace' in struct literal of type \"github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo\".ConfigParam\napollo/apollo_test.go:175:3: too many errors\nnote: module requires Go 1.21","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
lint: apollo/apollo_test.go#L67
undefined: configParamKey
lint: apollo/apollo_test.go#L82
undefined: client
lint: apollo/apollo_test.go#L85
undefined: configParamKey
lint: apollo/apollo_test.go#L89
undefined: configParamKey
lint: apollo/apollo_test.go#L90
undefined: configParamKey
lint: apollo/apollo_test.go#L108
unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam
lint: apollo/apollo_test.go#L134
unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam
lint: apollo/apollo_test.go#L152
undefined: configParamKey
lint: apollo/apollo_test.go#L162
undefined: configParamKey
lint: apollo/apollo_test.go#L175
unknown field 'nameSpace' in struct literal of type "github.com/cloudwego-contrib/cwgo-pkg/config/apollo/apollo".ConfigParam
compliant
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
staticcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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/