Skip to content

Commit c4c5f6e

Browse files
committed
🔧 Add cache for pre-commit checks
1 parent 84df3ec commit c4c5f6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v3
14+
- uses: actions/cache@v3
15+
with:
16+
path: ~/.cache/pre-commit
17+
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
1418
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)