diff --git a/.github/workflows/pytest-multiversion.yml b/.github/workflows/pytest-multiversion.yml index 801dd0b..b7e8e3a 100644 --- a/.github/workflows/pytest-multiversion.yml +++ b/.github/workflows/pytest-multiversion.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Python package +name: Test on multiple Python versions on: push: @@ -23,6 +23,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: "pip" # caching pip dependencies - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 71e283b..6944bbe 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.x" + cache: "pip" # caching pip dependencies - name: Install dependencies run: | python -m pip install --upgrade pip