We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed36bce commit 6561105Copy full SHA for 6561105
1 file changed
.github/workflows/pre-commit.yml
@@ -32,11 +32,17 @@ jobs:
32
path: |
33
.venv
34
key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
35
- - uses: actions/cache@v4
+ - name: Restore mypy cache
36
+ uses: actions/cache@v4
37
with:
38
path: .mypy_cache
39
key: mypy_cache|${{ hashFiles('pyproject.toml') }}
40
+ - name: Restore pre-commit cache
41
42
+ with:
43
+ path: ~/.cache/pre-commit
44
+ key: pre-commit-4|${{ hashFiles('.pre-commit-config.yaml') }}
45
- name: Synchronize project dependencies
46
run: uv sync --group dev
47
- name: Run pre-commit checks
- run: uv run pre-commit run --all-files --hook-stage manual
48
+ run: uv run pre-commit run --show-diff-on-failure --all-files --hook-stage manual
0 commit comments