Skip to content

Commit 44e0bde

Browse files
authored
ci: cache mypy to speed up runs (#48)
1 parent 964a5e7 commit 44e0bde

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ jobs:
2121
- name: Install the project
2222
run: uv sync --locked --extra lint --extra test
2323

24+
- name: Cache mypy cache
25+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.1
26+
with:
27+
path: .mypy_cache
28+
key: mypy-${{ runner.os }}
29+
retention-days: 30
30+
restore-keys: |
31+
mypy-${{ runner.os }}
32+
2433
- name: Lint
2534
run: |
2635
uv run ruff format --check src tests eval

0 commit comments

Comments
 (0)