Skip to content

Create a cache-project-venv action #38

Description

@bkeryan

Problem to Solve

The caching logic in analyze-project would be useful for other workflows:

  • It generates a cache key based on the project name in the pyproject.toml file, the Python version from setup-python, etc.
  • It asks Poetry for the venv path instead of hardcoding it.

Proposed Solution

Extract the caching steps into a cache-project-venv action.

Add use-cache and cache-hit inputs/outputs for testing, like in setup-poetry.

AB#3354221

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions