CI: use uv instead of pip (#23631)

* use uv
* Windows 2019 is deprecated
This commit is contained in:
Jason2866 2025-07-03 09:41:56 +02:00 committed by GitHub
parent 4904a43b33
commit 2380c33ef0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 25 deletions

View File

@ -108,8 +108,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Add SHA to footer
run: |
@ -158,8 +158,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
- name: Add SHA to footer
run: |
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
@ -209,8 +209,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Download safeboot firmwares
uses: actions/download-artifact@v4
@ -256,8 +256,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Download safeboot firmwares
uses: actions/download-artifact@v4

View File

@ -42,8 +42,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Add "release" to footer
run: |
@ -86,8 +86,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Add "release" to footer
run: |
@ -136,8 +136,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Download safeboot firmwares
uses: actions/download-artifact@v4
@ -181,8 +181,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Download safeboot firmwares
uses: actions/download-artifact@v4

View File

@ -19,7 +19,7 @@ on:
jobs:
os-check-win:
runs-on: windows-2019
runs-on: windows-latest
if: github.repository == 'arendst/Tasmota'
strategy:
fail-fast: true
@ -34,8 +34,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
- name: Run PlatformIO
env:
PYTHONIOENCODING: utf-8
@ -62,8 +62,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
- name: Run PlatformIO
env:
PYTHONIOENCODING: utf-8
@ -120,8 +120,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
cp ./platformio_override_sample.ini ./platformio_override.ini
- name: Run PlatformIO
env:
@ -149,8 +149,8 @@ jobs:
python-version: '3.13'
- name: Install dependencies
run: |
pip install wheel
pip install -U platformio
pip install uv
uv pip install --system platformio
- name: Run PlatformIO
env:
PYTHONIOENCODING: utf-8