Skip to content

Optimize parameter on build #201

@laurentiustroia

Description

@laurentiustroia

Hi guys, I found in policy build we have OptimizationLevel https://github.com/opcr-io/policy/blob/main/cmd/policy/build.go#L14 but in build script we don't have option for this https://github.com/opcr-io/policy/blob/main/scripts/build.sh#L64

Is there a way to tell optimize=2 on build script so maybe later it can be added to github action too https://github.com/opcr-io/policy-build-action/blob/main/action.yml ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions