From 729855c98cf96cb91def87e6d098705ff75ee502 Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Wed, 20 May 2026 22:11:04 -0600 Subject: [PATCH] fix: Cache per runner.arch Addressing the mix between intel & ARM. --- .github/workflows/ci-python.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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') }}