diff --git a/.github/workflows/test_cli.yml b/.github/workflows/test_cli.yml index 16c793f..4f7982a 100644 --- a/.github/workflows/test_cli.yml +++ b/.github/workflows/test_cli.yml @@ -21,6 +21,16 @@ jobs: with: python-version: '3.10' + - name: Кэширование зависимостей + uses: actions/cache@v3 + with: + path: | + ~/.cache/pip + .venv + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Установка зависимостей run: | pip install --upgrade pip==24.0 @@ -53,6 +63,16 @@ jobs: with: python-version: '3.10' + - name: Кэширование зависимостей + uses: actions/cache@v3 + with: + path: | + ~/.cache/pip + .venv + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Установка зависимостей run: | pip install --upgrade pip==24.0