Skip to content

add crd for pulsar package & function & connector #635

add crd for pulsar package & function & connector

add crd for pulsar package & function & connector #635

Triggered via pull request June 18, 2024 09:58
Status Failure
Total duration 15m 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
lint
The action 'Setup tmate session' has timed out after 15 minutes.
lint: api/v1alpha1/common.go#L18
File is not `goimports`-ed (goimports)
lint: api/v1alpha1/common.go#L162
variable 'err' is only used in the if-statement (api/v1alpha1/common.go:163:2); consider using short syntax (ifshort)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, 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/.
lint: api/v1alpha1/common.go#L93
exported: exported type FileRef should have comment or be unexported (revive)
lint: api/v1alpha1/common.go#L98
exported: exported type PackageContentRef should have comment or be unexported (revive)
lint: api/v1alpha1/common.go#L106
exported: exported type Resources should have comment or be unexported (revive)
lint: api/v1alpha1/pulsarfunction_types.go#L214
exported: exported type WindowConfig should have comment or be unexported (revive)
lint: api/v1alpha1/pulsarsource_types.go#L106
exported: exported type BatchSourceConfig should have comment or be unexported (revive)
lint: api/v1alpha1/common.go#L112
exported: exported type ProducerConfig should have comment or be unexported (revive)
lint: api/v1alpha1/common.go#L122
exported: exported type ConsumerConfig should have comment or be unexported (revive)
lint: api/v1alpha1/common.go#L133
exported: exported type CryptoConfig should have comment or be unexported (revive)