From 25a39a1fb666a7719192bc2d053df6e64e876311 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 23 Aug 2025 02:50:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(ci)=20add=20pip=20caching=20and=20?= =?UTF-8?q?upgrade=20setup-python=20action=20to=20v5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement pip dependency caching across all CI jobs requiring package installation and upgrade actions/setup-python from v4 to v5. The setup-python action is able to cache the dependencies and reuse this cache while the pyproject file has not changed. It is easy to setup, just the package manager used has to be declared in the cache settings --- .github/workflows/meet.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/meet.yml b/.github/workflows/meet.yml index 79ff7ba2..15c29632 100644 --- a/.github/workflows/meet.yml +++ b/.github/workflows/meet.yml @@ -82,6 +82,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.13" + cache: "pip" - name: Install development dependencies run: pip install --user .[dev] - name: Check code formatting with ruff @@ -186,6 +187,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.13" + cache: "pip" - name: Install development dependencies run: pip install --user .[dev]