Skip to content

Commit 55a19c0

Browse files
authored
use uv and pioarduino core
Updated Python version and added uv installation step in GitHub Actions workflow.
1 parent a77f979 commit 55a19c0

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/build-rpi.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,18 @@ jobs:
6666
steps:
6767
- name: Checkout
6868
uses: actions/checkout@v5
69-
70-
# - name: Cache PlatformIO
71-
# uses: actions/cache@v4
72-
# with:
73-
# key: ${{ runner.os }}-pio
74-
# path: |
75-
# ~/.cache/pip
76-
# ~/.platformio
77-
7869
- name: Python
7970
uses: actions/setup-python@v6
8071
with:
81-
python-version: "3.x"
82-
83-
- name: Install PIO
72+
python-version: "3.13"
73+
- name: Install uv
74+
uses: astral-sh/setup-uv@v6
75+
with:
76+
version: "latest"
77+
enable-cache: false
78+
- name: Install platformio
8479
run: |
85-
python -m pip install --upgrade pip
86-
pip install --upgrade platformio
80+
uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip
8781
8882
- name: Build Examples
8983
run: |

0 commit comments

Comments
 (0)