Skip to content

Commit 99c6115

Browse files
committed
Remove search for previous pre-commit caches.
These seem to be very large caches. Restoring an old one and updating it results in a cache larger than the maximum allowed cache size: 200MB. "Cache size of 254757924 bytes is over the 200MB limit, not saving cache." So if the config changes it is best to just take the cache-miss and start from scratch.
1 parent c26ea01 commit 99c6115

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
path: ~/.cache/pre-commit
2121
key: "${{ runner.os }}-pre-commit-\
2222
${{ hashFiles('**/.pre-commit-config.yaml') }}"
23-
restore-keys: |
24-
${{ runner.os }}-pre-commit-
2523

2624
- name: Cache pip test requirements
2725
uses: actions/cache@v1

0 commit comments

Comments
 (0)