openEQUELLA icon indicating copy to clipboard operation
openEQUELLA copied to clipboard

Explore caching npm and Java dependencies to speedup GitHub Action workflows

Open HonkingGoose opened this issue 2 years ago • 1 comments

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: https://github.com/openequella/openEQUELLA/pull/3386#discussion_r707067347

HonkingGoose avatar Sep 13 '21 08:09 HonkingGoose