Skip to content

Commit 9ca157c

Browse files
authored
Add mypy cache to CI (#68)
1 parent e7201c7 commit 9ca157c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
path: ~/.cache/pre-commit
3030
key: pre-commit-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('.github/hooks/.pre-commit-config.yml') }}
3131

32+
- name: Cache mypy
33+
uses: actions/cache@v3
34+
with:
35+
path: .mypy_cache/
36+
key: mypy_cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
37+
3238
- name: Install dependencies
3339
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
3440
run: poetry install --no-interaction --no-root

0 commit comments

Comments
 (0)