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

Never restore stale tox environment caches in GitHub workflows #2605

Merged
merged 1 commit into from Mar 31, 2023

Commits on Mar 31, 2023

  1. Never restore stale tox environment caches

    The installed dependencies in tox environments are no longer
    automatically synced using pip-tools, which means they do not update if
    they are stale.
    
    We should therefore never use prefix matching for the cache Action for
    the tox environments, or we will end up restoring a stale environment
    every time the requirements files change.
    
    This ensures we only restore tox environments when the cache key matches
    exactly - meaning that all the tox environments should be rebuilt if any
    of the requirements files changed.
    lunkwill42 committed Mar 31, 2023
    Copy the full SHA
    0241a24 View commit details
    Browse the repository at this point in the history