From 6982770f89472008fc9f2a5226c370eb6b80bbd0 Mon Sep 17 00:00:00 2001 From: Chavithra PARANA Date: Tue, 29 Mar 2022 18:17:39 +0200 Subject: [PATCH] Clear other caches --- .github/workflows/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4115c93920e..d44aecea2e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,8 +24,8 @@ jobs: - uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-linting - restore-keys: ${{ runner.os }}-linting + key: ${{ runner.os }}-v1-linting + restore-keys: ${{ runner.os }}-v1-linting - run: python custom_pre_commit/check_doc.py --ignore-files=settings_controller.py,keys_controller.py,degiro_controller.py,oanda_controller.py --ignore-commands=login,al_swe,info_swe,goodness,resources,yf,yolo - run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.12.2 @@ -66,14 +66,14 @@ jobs: uses: actions/cache@v2 with: path: .venv - key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-v1-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root -E bots -E bots + run: poetry install --no-interaction --no-root -E bots - name: Install Package - run: poetry install --no-interaction -E bots -E bots + run: poetry install --no-interaction -E bots - name: Run tests env: @@ -201,7 +201,7 @@ jobs: uses: actions/cache@v2 with: path: ~/conda_pkgs_dir - key: conda-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('build/conda/conda-3-8-env.yaml') }} + key: conda-${{ runner.os }}-v1-${{ matrix.python }}-${{ hashFiles('build/conda/conda-3-8-env.yaml') }} - name: Setup Miniconda uses: conda-incubator/setup-miniconda@v2 @@ -233,9 +233,9 @@ jobs: uses: actions/cache@v2 with: path: ${{ steps.pip-cache.outputs.dir }} - key: ${{ runner.os }}-3-8-pip-${{ hashFiles('requirements.txt') }} + key: ${{ runner.os }}-v1-3-8-pip-${{ hashFiles('requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip- + ${{ runner.os }}-v1-pip- - name: Uninstall Brotlipy shell: bash -l {0}