Skip to content

Commit 7cf3177

Browse files
committed
fix: Bust pre-commit cache to resolve types-all issue
Add version suffix to cache key to force invalidation of old cached pre-commit environments that still reference types-all.
1 parent a7e0bf2 commit 7cf3177

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/cache@v4
2525
with:
2626
path: ~/.cache/pre-commit
27-
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
27+
key: pre-commit-v2-${{ hashFiles('.pre-commit-config.yaml') }}
2828

2929
- name: Run pre-commit on all files
3030
run: pre-commit run --all-files --show-diff-on-failure

0 commit comments

Comments
 (0)