[feature] avoid setup-golang tools when downloading a binary #3073
Labels
area:generate-builder
Issue related to the generate-builder action
type:feature
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
I'm currently getting warnings from setup-golang action, due to having already setup golang with a different version and cache location.
That slsa generator needs it when its downloading a binary seems erroneous and is a causing this spurious message as well as wasting ci time.
https://github.com/slsa-framework/slsa-github-generator/blob/main/.github/actions/generate-builder/action.yml
instead the setup-golang step should be conditional on the input if the tool is to be built.
The text was updated successfully, but these errors were encountered: