Skip to content

Commit

Permalink
Add mypy cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Jan 2, 2025
1 parent de21fb6 commit 15b8c6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-mars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
run: ruff check mars_lib/
working-directory: ${{ env.working-directory }}

- name: Create mypy cache directory
run: mkdir -p /tmp/mypy_cache

- name: Type checking
run: mypy --install-types --non-interactive mars_lib/
run: mypy --install-types --non-interactive --cache-dir /tmp/mypy_cache mars_lib/
working-directory: ${{ env.working-directory }}

0 comments on commit 15b8c6c

Please sign in to comment.