From fa9fcc38f014ad9610b1716e260b78d83db1c0a5 Mon Sep 17 00:00:00 2001 From: tczekajlo Date: Wed, 9 Sep 2020 13:24:17 +0200 Subject: [PATCH 1/2] Use more precise restore key for GH cache action --- .github/workflows/ci-model-regression-on-schedule.yml | 2 +- .github/workflows/ci-model-regression.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-model-regression-on-schedule.yml b/.github/workflows/ci-model-regression-on-schedule.yml index a9160e8f028a..464383195a61 100644 --- a/.github/workflows/ci-model-regression-on-schedule.yml +++ b/.github/workflows/ci-model-regression-on-schedule.yml @@ -139,7 +139,7 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8 + restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true' diff --git a/.github/workflows/ci-model-regression.yml b/.github/workflows/ci-model-regression.yml index 3080e4dd3513..2c07c1b11eaf 100644 --- a/.github/workflows/ci-model-regression.yml +++ b/.github/workflows/ci-model-regression.yml @@ -242,7 +242,7 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8 + restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true' @@ -388,7 +388,7 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8 + restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true' From 3a892abac85897ea9f4bff6c0a523358a617d351 Mon Sep 17 00:00:00 2001 From: tczekajlo Date: Wed, 9 Sep 2020 15:52:12 +0200 Subject: [PATCH 2/2] Remove restore-keys parameter for GH cache action --- .github/workflows/ci-model-regression-on-schedule.yml | 1 - .github/workflows/ci-model-regression.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci-model-regression-on-schedule.yml b/.github/workflows/ci-model-regression-on-schedule.yml index 464383195a61..96ed2818e8f7 100644 --- a/.github/workflows/ci-model-regression-on-schedule.yml +++ b/.github/workflows/ci-model-regression-on-schedule.yml @@ -139,7 +139,6 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true' diff --git a/.github/workflows/ci-model-regression.yml b/.github/workflows/ci-model-regression.yml index 2c07c1b11eaf..c46bd7f0a8c2 100644 --- a/.github/workflows/ci-model-regression.yml +++ b/.github/workflows/ci-model-regression.yml @@ -242,7 +242,6 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true' @@ -388,7 +387,6 @@ jobs: with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - restore-keys: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies 📦 if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'