Skip to content

feat: remove string checks and add robust checks for fileType #1740

feat: remove string checks and add robust checks for fileType

feat: remove string checks and add robust checks for fileType #1740

Triggered via pull request January 29, 2025 20:54
Status Failure
Total duration 4m 21s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lint: broker/nats/nats.go#L28
SA1019: nats.EncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L60
SA1019: nats.NewEncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L82
SA1019: n.ec.Close is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L87
SA1019: n.ec.Publish is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L96
SA1019: n.ec.BindSendChan is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L108
SA1019: n.ec.QueueSubscribe is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: broker/nats/nats.go#L122
SA1019: n.ec.BindRecvQueueChan is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: models/meshmodel/core/policies/rego_policy_relationship.go#L12
SA1019: "github.com/open-policy-agent/opa/rego" is deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the [github.com/open-policy-agent/opa/v1] package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information. (staticcheck)
lint: models/meshmodel/core/policies/rego_policy_relationship.go#L13
SA1019: "github.com/open-policy-agent/opa/storage" is deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the [github.com/open-policy-agent/opa/v1] package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information. (staticcheck)
lint: models/meshmodel/core/policies/rego_policy_relationship.go#L14
SA1019: "github.com/open-policy-agent/opa/storage/inmem" is deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the [github.com/open-policy-agent/opa/v1] package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information. (staticcheck)
codecov
Process completed with exit code 2.