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

View File

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

View File

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