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: | 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: | 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: | 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: |