diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2023-01-24 10:36:19 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2023-01-24 10:36:19 +0100 |
commit | 56b76887b31ce9205804030105dab456961916b5 (patch) | |
tree | 85eb188029b150f489badc1bffa6e77ecefe1be8 | |
parent | 69b6107922efe895f83441b4b9d4dd64ff3d46b6 (diff) | |
download | cython-56b76887b31ce9205804030105dab456961916b5.tar.gz |
Prevent arbitrary test requirement files in pip installations etc. from interfering with the ccache.
See https://github.com/cython/cython/issues/5221
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef769543d..4267fc77e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -274,7 +274,7 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: variant: ${{ startsWith(runner.os, 'windows') && 'sccache' || 'ccache' }} # fake ternary - key: ${{ runner.os }}-hendrikmuhs-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.backend == 'c' || matrix.backend == 'c,cpp' }}-${{ contains(matrix.backend, 'cpp') }}-${{ hashFiles('**/test-requirements*.txt', '**/ci.yml', '**/ci-run.sh') }} + key: ${{ runner.os }}-hendrikmuhs-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.backend == 'c' || matrix.backend == 'c,cpp' }}-${{ contains(matrix.backend, 'cpp') }}-${{ hashFiles('test-requirements*.txt', '.github/**/ci.yml', '.github/**/ci-run.sh') }} max-size: ${{ env.CCACHE_MAXSIZE }} - name: Run CI |