Skip to content

Bump github.com/open-policy-agent/opa from 0.70.0 to 1.10.0 #6640

Bump github.com/open-policy-agent/opa from 0.70.0 to 1.10.0

Bump github.com/open-policy-agent/opa from 0.70.0 to 1.10.0 #6640

Status Failure
Total duration 2m 37s
Artifacts

ci.yml

on: push
Matrix: lint
test-linux
0s
test-linux
Matrix: test-windows
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors
lint (windows, test)
golangci-lint exit with code 5
lint (linux, test)
golangci-lint exit with code 5
protos
Process completed with exit code 1.
Go Generate
Process completed with exit code 1.
Go Generate
Generated files are not up to date. Please run `go generate .\...`.
verify-vendor
Process completed with exit code 1.
verify-vendor
./go.mod is not up to date. Please run `go mod tidy && go mod vendor`
lint (linux)
issues found
lint (linux): internal/regopolicyinterpreter/regopolicyinterpreter.go#L16
SA1019: "github.com/open-policy-agent/opa/topdown" 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 (linux): internal/regopolicyinterpreter/regopolicyinterpreter.go#L15
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)
lint (linux): internal/regopolicyinterpreter/regopolicyinterpreter.go#L14
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 (linux): internal/regopolicyinterpreter/regopolicyinterpreter.go#L13
SA1019: "github.com/open-policy-agent/opa/ast" 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 (linux): internal/guest/runtime/runc/utils.go#L121
printf: non-constant format string in call to github.com/pkg/errors.Wrapf (govet)
lint (windows)
issues found
lint (windows): internal/regopolicyinterpreter/regopolicyinterpreter.go#L16
SA1019: "github.com/open-policy-agent/opa/topdown" 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 (windows): internal/regopolicyinterpreter/regopolicyinterpreter.go#L15
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)
lint (windows): internal/regopolicyinterpreter/regopolicyinterpreter.go#L14
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 (windows): internal/regopolicyinterpreter/regopolicyinterpreter.go#L13
SA1019: "github.com/open-policy-agent/opa/ast" 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 (windows): internal/tools/uvmboot/main.go#L100
printf: non-constant format string in call to fmt.Errorf (govet)