From 734615e7b5f02c7290a718ec8c3d60075bd4c31f Mon Sep 17 00:00:00 2001 From: Yurii Date: Tue, 20 Oct 2026 05:52:08 +0300 Subject: [PATCH] fix: pin Python version for firmware builds --- .github/workflows/build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 88bab3c..3f7f9d9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,10 @@ concurrency: permissions: contents: read +env: + # Keep Python within the versions supported by pioarduino. + PYTHON_VERSION: "3.13" + jobs: prepare: name: Prepare (get envs) @@ -37,7 +41,7 @@ jobs: - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" + python-version: ${{ env.PYTHON_VERSION }} - name: Install PlatformIO Core run: | @@ -80,7 +84,7 @@ jobs: - name: Python uses: actions/setup-python@v6 with: - python-version: "3.x" + python-version: ${{ env.PYTHON_VERSION }} - name: Install Node.js uses: actions/setup-node@v5