diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 337569c..fd3d0fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,6 +145,8 @@ jobs: with: python-version: ${{ matrix.python }} architecture: ${{ matrix.python_arch }} + cache: 'pip' + cache-dependency-path: .github/workflows/ci.yml - name: Install tox dependencies run: | python -m pip install --upgrade pip @@ -153,6 +155,11 @@ jobs: pip --version tox --version pip list --format=freeze + - name: Cache tox env + uses: actions/cache@v4 + with: + path: .tox/${{ matrix.tox_env }} + key: ${{ matrix.python }}-${{ matrix.python_arch }}-${{ hashFiles('setup.py', 'tox.ini') }} - name: Test env: TOXPYTHON: '${{ matrix.toxpython }}'