@@ -92,26 +92,18 @@ jobs:
9292 steps :
9393 - name : Checkout
9494 uses : actions/checkout@v5
95-
96- # - name: Cache PlatformIO
97- # uses: actions/cache@v4
98- # with:
99- # key: ${{ runner.os }}-pio
100- # path: |
101- # ~/.cache/pip
102- # ~/.platformio
103-
10495 - name : Python
10596 uses : actions/setup-python@v6
10697 with :
107- python-version : " 3.x"
108-
109- - name : Install PIO
98+ python-version : " 3.13"
99+ - name : Install uv
100+ uses : astral-sh/setup-uv@v6
101+ with :
102+ version : " latest"
103+ enable-cache : false
104+ - name : Install platformio
110105 run : |
111- python -m pip install --upgrade pip
112- pip install --upgrade platformio
113- pip install --upgrade intelhex
114- pip install --upgrade rich_click
106+ uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip
115107
116108 - name : Build Examples
117109 run : |
@@ -140,26 +132,18 @@ jobs:
140132 steps :
141133 - name : Checkout
142134 uses : actions/checkout@v5
143-
144- # - name: Cache PlatformIO
145- # uses: actions/cache@v4
146- # with:
147- # key: ${{ runner.os }}-pio
148- # path: |
149- # ~/.cache/pip
150- # ~/.platformio
151-
152135 - name : Python
153136 uses : actions/setup-python@v6
154137 with :
155- python-version : " 3.x"
156-
157- - name : Install PIO
138+ python-version : " 3.13"
139+ - name : Install uv
140+ uses : astral-sh/setup-uv@v6
141+ with :
142+ version : " latest"
143+ enable-cache : false
144+ - name : Install platformio
158145 run : |
159- python -m pip install --upgrade pip
160- pip install --upgrade platformio
161- pip install --upgrade intelhex
162- pip install --upgrade rich_click
146+ uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip
163147
164148 - name : Build Examples
165149 run : |
@@ -187,26 +171,18 @@ jobs:
187171 steps :
188172 - name : Checkout
189173 uses : actions/checkout@v5
190-
191- # - name: Cache PlatformIO
192- # uses: actions/cache@v4
193- # with:
194- # key: ${{ runner.os }}-pio
195- # path: |
196- # ~/.cache/pip
197- # ~/.platformio
198-
199174 - name : Python
200175 uses : actions/setup-python@v6
201176 with :
202- python-version : " 3.x"
203-
204- - name : Install PIO
177+ python-version : " 3.13"
178+ - name : Install uv
179+ uses : astral-sh/setup-uv@v6
180+ with :
181+ version : " latest"
182+ enable-cache : false
183+ - name : Install platformio
205184 run : |
206- python -m pip install --upgrade pip
207- pip install --upgrade platformio
208- pip install --upgrade intelhex
209- pip install --upgrade rich_click
185+ uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip
210186
211187 - name : Build Examples
212188 run : |
0 commit comments