Skip to content

GitHub retiring @actions/cache v2 #180

@leanne73

Description

@leanne73

I noticed gitleaks runs failing today with the following error:

Warning: ReserveCacheError: Unable to reserve cache with key gitleaks-cache-8.24.3-linux-x64, another job may be creating this cache. More details: This legacy service is shutting down, effective April 15, 2025. Migrate to the new service ASAP. For more information: https://gh.io/gha-cache-sunset

It looks like Github is deprecating v1-v2 of actions/cache and gitleaks-action is still using v2.

"@actions/cache": "^2.0.2",

There's a migration guide which says that the changes "should be seamless and fully backward compatible" so this may just need a package bump to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions