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

Explore caching npm and Java dependencies to speedup GitHub Action workflows #3390

Open
HonkingGoose opened this issue Sep 13, 2021 · 1 comment
Labels
Tech debt Anything to with the health of the code base

Comments

@HonkingGoose
Copy link

Is your feature request related to a problem? Please describe.

You might be able to speed up your workflow runs by using the caching features that come with the latest versions of actions/setup-node and actions/setup-java.

Describe the solution you'd like

With the new actions, enabling caching is very easy, you don't need to figure out any caching keys or do other complicated things. You only need to add a few lines to the workflow files.

Make sure the version of the action you're using supports the cache feature. 😉 I think you need to update your version of setup-java first to be able to use caching.

Official documentation:

Describe alternatives you've considered

Keep things as they are.

Additional context

I suggested this in a PR that we've now closed: #3386 (comment)

@edalex-ian edalex-ian added the Tech debt Anything to with the health of the code base label Sep 13, 2021
@edalex-ian
Copy link
Member

Thanks @HonkingGoose , we'll see what we can do here. We can definitely make use of both in different ways and get rid of a lot of our current manually caching configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tech debt Anything to with the health of the code base
Projects
None yet
Development

No branches or pull requests

2 participants