Skip to content

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

@HonkingGoose

Description

@HonkingGoose

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tech debtAnything to with the health of the code base

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions