|
77 | 77 | uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 |
78 | 78 | with: |
79 | 79 | path: .pytest_cache |
80 | | - key: pytest-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.resolution }}-${{ hashFiles('pyproject.toml') }} |
| 80 | + key: >- |
| 81 | + pytest |
| 82 | + -${{ matrix.python-version }} |
| 83 | + -${{ matrix.os }} |
| 84 | + -${{ matrix.resolution }} |
| 85 | + -${{ hashFiles('pyproject.toml') }} |
81 | 86 |
|
82 | 87 | - env: |
83 | 88 | COVERAGE_FILE: ".coverage.${{ matrix.os }}.${{ matrix.python-version }}.${{ matrix.resolution }}" |
@@ -194,7 +199,13 @@ jobs: |
194 | 199 | uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 |
195 | 200 | with: |
196 | 201 | path: .pytest_cache |
197 | | - key: pytest-${{ hashFiles('pyproject.toml') }}-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.resolution }}-${{ matrix.extra }} |
| 202 | + key: >- |
| 203 | + pytest |
| 204 | + -${{ hashFiles('pyproject.toml') }} |
| 205 | + -${{ matrix.os }} |
| 206 | + -${{ matrix.python-version }} |
| 207 | + -${{ matrix.resolution }} |
| 208 | + -${{ matrix.extra }} |
198 | 209 |
|
199 | 210 | - run: uv run pytest test/test_${{ matrix.extra }} |
200 | 211 |
|
@@ -230,7 +241,9 @@ jobs: |
230 | 241 | uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 |
231 | 242 | with: |
232 | 243 | path: .ruff_cache |
233 | | - key: ruff-${{ hashFiles('pyproject.toml') }} |
| 244 | + key: >- |
| 245 | + ruff |
| 246 | + -${{ hashFiles('pyproject.toml') }} |
234 | 247 |
|
235 | 248 | - id: run-ruff |
236 | 249 | run: >- |
@@ -275,7 +288,9 @@ jobs: |
275 | 288 | uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 |
276 | 289 | with: |
277 | 290 | path: .ruff_cache |
278 | | - key: ruff-${{ hashFiles('pyproject.toml') }} |
| 291 | + key: >- |
| 292 | + ruff |
| 293 | + -${{ hashFiles('pyproject.toml') }} |
279 | 294 |
|
280 | 295 | - id: run-ruff-sarif |
281 | 296 | run: >- |
@@ -434,7 +449,10 @@ jobs: |
434 | 449 | uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 |
435 | 450 | with: |
436 | 451 | path: .pre-commit-cache |
437 | | - key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}-${{ hashFiles('pyproject.toml') }} |
| 452 | + key: >- |
| 453 | + pre-commit |
| 454 | + -${{ hashFiles('.pre-commit-config.yaml') }} |
| 455 | + -${{ hashFiles('pyproject.toml') }} |
438 | 456 |
|
439 | 457 | - env: |
440 | 458 | PRE_COMMIT_HOME: .pre-commit-cache |
|
0 commit comments