diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 5ca5caf58..ce8a9e688 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -181,9 +181,9 @@ jobs: uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: .tox/ - key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }} + key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-tox-v2-${{ hashFiles('**/pyproject.toml') }} restore-keys: | - ${{ runner.os }}-${{ matrix.python-version }}-tox-v1- + ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-tox-v2- - name: Test with tox run: tox -e ${{ matrix.python-version == '3.12' && 'msv' || 'latest' }} @@ -195,4 +195,4 @@ jobs: uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: .tox/ - key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }} + key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-tox-v2-${{ hashFiles('**/pyproject.toml') }}