From efcfac2c6f8888e49d14850c78aad0fd73f564af Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 26 Oct 2025 15:18:58 +0100 Subject: [PATCH 1/4] use uv and pioarduino core --- .github/workflows/build-esp32.yml | 72 +++++++++++-------------------- 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build-esp32.yml b/.github/workflows/build-esp32.yml index caa4aaa2d..8fb20ff10 100644 --- a/.github/workflows/build-esp32.yml +++ b/.github/workflows/build-esp32.yml @@ -92,26 +92,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio - pip install --upgrade intelhex - pip install --upgrade rich_click + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: | @@ -140,26 +132,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio - pip install --upgrade intelhex - pip install --upgrade rich_click + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: | @@ -187,26 +171,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio - pip install --upgrade intelhex - pip install --upgrade rich_click + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: | From c636ba58e939ecf984ab4446c40f45b73c86e325 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 26 Oct 2025 15:22:15 +0100 Subject: [PATCH 2/4] use uv and pioarduino core Updated Python version and added uv installation step. Removed caching steps for PlatformIO. --- .github/workflows/build-esp8266.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-esp8266.yml b/.github/workflows/build-esp8266.yml index e51327a39..0899b8e5b 100644 --- a/.github/workflows/build-esp8266.yml +++ b/.github/workflows/build-esp8266.yml @@ -59,24 +59,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: | From a77f979b9691d49ef7f6fdbec78b3f48d6067b22 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 26 Oct 2025 15:23:23 +0100 Subject: [PATCH 3/4] use uv and pioarduino core Updated Python version and added uv installation step. Removed caching steps for PlatformIO. --- .github/workflows/build-libretiny.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-libretiny.yml b/.github/workflows/build-libretiny.yml index d231625f7..fcc408a7d 100644 --- a/.github/workflows/build-libretiny.yml +++ b/.github/workflows/build-libretiny.yml @@ -28,24 +28,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: | From 55a19c0ca0fb335ec16bbb6c962310fd36728fa5 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 26 Oct 2025 15:25:05 +0100 Subject: [PATCH 4/4] use uv and pioarduino core Updated Python version and added uv installation step in GitHub Actions workflow. --- .github/workflows/build-rpi.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-rpi.yml b/.github/workflows/build-rpi.yml index b96b79e18..eca7fc517 100644 --- a/.github/workflows/build-rpi.yml +++ b/.github/workflows/build-rpi.yml @@ -66,24 +66,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - # - name: Cache PlatformIO - # uses: actions/cache@v4 - # with: - # key: ${{ runner.os }}-pio - # path: | - # ~/.cache/pip - # ~/.platformio - - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" - - - name: Install PIO + python-version: "3.13" + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + version: "latest" + enable-cache: false + - name: Install platformio run: | - python -m pip install --upgrade pip - pip install --upgrade platformio + uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip - name: Build Examples run: |