Skip to content

Commit

Permalink
ci/tests: cache mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
neersighted committed Mar 25, 2024
1 parent ec8046a commit 1e7c38e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:

- run: poetry install --sync

- uses: actions/cache@v4
with:
path: .mypy_cache
key: mypy-${{ matrix.os.image }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}

- run: poetry run mypy

pytest:
Expand Down

0 comments on commit 1e7c38e

Please sign in to comment.