diff --git a/.github/workflows/package-pypi.yml b/.github/workflows/package-pypi.yml index 2cafcaf02d..1512e7df1f 100644 --- a/.github/workflows/package-pypi.yml +++ b/.github/workflows/package-pypi.yml @@ -17,6 +17,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.13 + cache: 'pip' - name: Install dependencies (Linux) if: runner.os == 'linux' run: | @@ -84,6 +85,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install gettext (macOS) if: runner.os == 'macOS' run: | diff --git a/.github/workflows/package-windows.yml b/.github/workflows/package-windows.yml index a0f9cb7c78..971fec0493 100644 --- a/.github/workflows/package-windows.yml +++ b/.github/workflows/package-windows.yml @@ -27,6 +27,10 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.13 + cache: 'pip' + cache-dependency-path: | + requirements-build.txt + requirements-win.txt - name: Setup Windows build environment run: | & .\scripts\package\win-setup.ps1 ` diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ff070121ac..b50d77357f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,6 +19,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install dependencies (Linux) if: runner.os == 'linux' run: |