slsa-framework/slsa-github-generator

[feature] Run `go generate ./...` before build

Opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Some files need to be generated, which will be used in go build

Describe the solution you'd like
Add another field in Configuration File, such as generate, to allow user customize the generation.

# Version for this file.
version: 1

generate: "./..." # go generate ./...
generate: ""      # leave empty to skip go generate

Describe alternatives you've considered

Additional context

Can you add more details?