Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to cache GOBIN #1

Open
shoenig opened this issue Feb 19, 2022 · 1 comment
Open

Ability to cache GOBIN #1

shoenig opened this issue Feb 19, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@shoenig
Copy link

shoenig commented Feb 19, 2022

This action is great! Thanks for making it.

I was wondering if you'd be open to adding the ability to cache the $GOBIN path in addition to the modules paths.

We have some complex builds that go install about a dozen tools for things like code generation, linting, etc. some of which get re-used across jobs. If they're cached, the Go compiler can avoid recompiling them in each job.

@magnetikonline
Copy link
Owner

Thanks @shoenig for the kind words 👍.

I reckon if I did add that, it would need to be an optional parameter to the action - since I don't think everyone would want that as standard behaviour. I'll leave the card open and see if I can shoe-horn in this feature for you when time allows 😄.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants