Skip to content

Commit 15b8c6c

Browse files
committed
Add mypy cache
1 parent de21fb6 commit 15b8c6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test-mars.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
run: ruff check mars_lib/
4949
working-directory: ${{ env.working-directory }}
5050

51+
- name: Create mypy cache directory
52+
run: mkdir -p /tmp/mypy_cache
53+
5154
- name: Type checking
52-
run: mypy --install-types --non-interactive mars_lib/
55+
run: mypy --install-types --non-interactive --cache-dir /tmp/mypy_cache mars_lib/
5356
working-directory: ${{ env.working-directory }}

0 commit comments

Comments
 (0)