From 87321264d9317eb0fa661ca472ab31e406c60580 Mon Sep 17 00:00:00 2001 From: Luis Montero Date: Thu, 18 Jan 2024 15:15:34 +0100 Subject: [PATCH] chore: add cache to setup python --- .github/workflows/benchmarks.yaml | 1 + .github/workflows/ci_timing.yaml | 1 + .github/workflows/cifar_benchmark.yaml | 1 + .github/workflows/continuous-integration.yaml | 1 + .github/workflows/prepare_release.yaml | 1 + .github/workflows/refresh-notebooks.yaml | 1 + .github/workflows/refresh-one-notebook.yaml | 1 + .github/workflows/single_benchmark.yaml | 1 + .github/workflows/update_licenses.yaml | 1 + .github/workflows/weekly-pip-audit.yaml | 1 + 10 files changed, 10 insertions(+) diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index 1eacb950a5..586746cffb 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -92,6 +92,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: "3.9" + cache: poetry - name: Install dependencies id: install-deps diff --git a/.github/workflows/ci_timing.yaml b/.github/workflows/ci_timing.yaml index 3a0fa62cf9..f8572a35ef 100644 --- a/.github/workflows/ci_timing.yaml +++ b/.github/workflows/ci_timing.yaml @@ -37,6 +37,7 @@ jobs: id: setup-python with: python-version: 3.8 + cache: poetry - name: Install dependencies env: diff --git a/.github/workflows/cifar_benchmark.yaml b/.github/workflows/cifar_benchmark.yaml index 5f68eb02e0..5d26a92ab2 100644 --- a/.github/workflows/cifar_benchmark.yaml +++ b/.github/workflows/cifar_benchmark.yaml @@ -104,6 +104,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: "3.8" + cache: poetry - name: Install dependencies id: install-deps diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index d5fbe70c93..20f5097843 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -395,6 +395,7 @@ jobs: id: setup-python with: python-version: ${{ matrix.python_version }} + cache: poetry - name: Check python3 version env: diff --git a/.github/workflows/prepare_release.yaml b/.github/workflows/prepare_release.yaml index 1cd37d9b12..93f254306e 100644 --- a/.github/workflows/prepare_release.yaml +++ b/.github/workflows/prepare_release.yaml @@ -55,6 +55,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.8' + cache: poetry - name: Install dependencies run: | diff --git a/.github/workflows/refresh-notebooks.yaml b/.github/workflows/refresh-notebooks.yaml index e3e5bfeae4..e30e389157 100644 --- a/.github/workflows/refresh-notebooks.yaml +++ b/.github/workflows/refresh-notebooks.yaml @@ -79,6 +79,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.8' + cache: poetry - name: Install dependencies run: | diff --git a/.github/workflows/refresh-one-notebook.yaml b/.github/workflows/refresh-one-notebook.yaml index 1abac33346..b605317d63 100644 --- a/.github/workflows/refresh-one-notebook.yaml +++ b/.github/workflows/refresh-one-notebook.yaml @@ -158,6 +158,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.8' + cache: poetry - name: Install dependencies run: | diff --git a/.github/workflows/single_benchmark.yaml b/.github/workflows/single_benchmark.yaml index 6b1313f6d5..63506b6942 100644 --- a/.github/workflows/single_benchmark.yaml +++ b/.github/workflows/single_benchmark.yaml @@ -136,6 +136,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: "3.9" + cache: poetry - name: Install dependencies id: install-deps diff --git a/.github/workflows/update_licenses.yaml b/.github/workflows/update_licenses.yaml index 72d9cbccf5..14d58449dc 100644 --- a/.github/workflows/update_licenses.yaml +++ b/.github/workflows/update_licenses.yaml @@ -42,6 +42,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.8' + cache: poetry - name: Install dependencies run: | diff --git a/.github/workflows/weekly-pip-audit.yaml b/.github/workflows/weekly-pip-audit.yaml index 4016b1b1d9..ed0fc7fbe1 100644 --- a/.github/workflows/weekly-pip-audit.yaml +++ b/.github/workflows/weekly-pip-audit.yaml @@ -47,6 +47,7 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: '3.8' + cache: poetry - name: Check python3 version env: