Skip to content

[Task] Improve "Prepare Valkey sources" of install-engine/action.yml #5211

@affonsov

Description

@affonsov

Description

It is not necessary to check out the entire repository in order to determine the source version. We can just retrieve the version.h file, and only checkout the full repo when we need to build Valkey/Redis (i.e. when there is a cache miss). Additionally, when we do need to check out the full repo, we can do minimal, sparse checkout rather than full checkout. Both will speed up this job.

Checklist

...

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions