Skip to content

v2.0.x Chore - Consider adding caching for Python dependencies. #278

Closed
@reactive-firewall

Description

@reactive-firewall

Consider adding caching for Python dependencies.

The BUILD job could benefit from caching pip dependencies to improve workflow execution time.

Add caching after the Python setup:

      - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
        with:
          python-version: "3.12"
      - uses: actions/cache@v3
        with:
          path: ~/.cache/pip
          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
          restore-keys: |
            ${{ runner.os }}-pip-

Metadata

Metadata

Labels

CIContinuous Integration ToolingChoreMiscellaneous chores to maintain the projectConfigsImprovements or additions to configurationGitHubAnything Meta

Type

No type

Projects

Status

Archive Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions