summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2023-01-24 10:36:19 +0100
committerStefan Behnel <stefan_ml@behnel.de>2023-01-24 10:36:19 +0100
commit56b76887b31ce9205804030105dab456961916b5 (patch)
tree85eb188029b150f489badc1bffa6e77ecefe1be8
parent69b6107922efe895f83441b4b9d4dd64ff3d46b6 (diff)
downloadcython-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.yml2
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