Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit c89f880

Browse files
authored
chore: enable pre-commit caching (#57)
1 parent 4bcb70e commit c89f880

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tox.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ jobs:
4646
steps:
4747
- name: Checkout repository
4848
uses: actions/checkout@v4
49+
- name: Set pre-commit cache
50+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
51+
if: ${{ matrix.name == 'lint' }}
52+
with:
53+
path: |
54+
~/.cache/pre-commit
55+
key: pre-commit-${{ matrix.name }}-${{ hashFiles('.pre-commit-config.yaml') }}
56+
4957
- name: Set up Python ${{ matrix.uv_python_version }}
5058
uses: astral-sh/setup-uv@v6
5159
with:

0 commit comments

Comments
 (0)