Skip to content

Bump github.com/open-policy-agent/opa from 0.70.0 to 1.7.1 #6358

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

Bump github.com/open-policy-agent/opa from 0.70.0 to 1.7.1 #6358

Triggered via pull request August 28, 2025 18:09
Status Failure
Total duration 3m 47s
Artifacts

ci.yml

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

Annotations

18 errors
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 (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, test)
golangci-lint exit with code 5
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)