Skip to content

Commit f0a5f5c

Browse files
committed
Cache pre-commit hooks
1 parent 232f91c commit f0a5f5c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
path: ~/.cache/pip
3131
restore-keys: |
3232
pip-lint-
33+
- name: Cache pre-commit hooks
34+
uses: actions/cache@v4
35+
with:
36+
path: ~/.cache/pre-commit
37+
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
3338
- name: Install dependencies
3439
uses: py-actions/py-dependency-install@v4
3540
with:

0 commit comments

Comments
 (0)