diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 100df35e..36376c4b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Cache pip packages + uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }} + restore-keys: | + ${{ runner.os }}-pip- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/requirements-dev.txt b/requirements-dev.txt index 6b458abf..6b954afc 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,9 +2,9 @@ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.6.0/en_core_web_md-3.6.0-py3-none-any.whl flake8~=7.0.0 darglint~=1.8.1 -mypy>=1.7.0,<2.0.0 +mypy>=1.7.0,<1.12.0 mypy-extensions>=1.0.0 types-aiofiles==0.8.3 types-PyYAML==6.0.3 types-setuptools==57.4.10 -timeout-decorator==0.5.0 +timeout-decorator==0.5.0 \ No newline at end of file