Skip to content

Create a cache-project-venv action #38

@bkeryan

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

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