From 355290354ba5427b5444efe4a04028c3e89519eb Mon Sep 17 00:00:00 2001 From: mikee47 Date: Thu, 14 Mar 2024 20:19:03 +0000 Subject: [PATCH] Explicitly use python 3.12 for CI Stick with default (3.8) for ESP32 IDF 4.3, doesn't work with anything later --- .github/workflows/ci-esp32.yml | 7 ++++++- .github/workflows/ci.yml | 7 ++++++- .github/workflows/library.yml | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-esp32.yml b/.github/workflows/ci-esp32.yml index b6bf17d4c6..f849ea2033 100644 --- a/.github/workflows/ci-esp32.yml +++ b/.github/workflows/ci-esp32.yml @@ -39,7 +39,12 @@ jobs: git config --global --add core.autocrlf input - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.idf_version == '4.3' && '3.8' || '3.12' }} - name: Configure environment shell: pwsh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc68c5d784..f565d8a942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,12 @@ jobs: git config --global --add core.autocrlf input - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: "3.12" - name: Configure environment shell: pwsh diff --git a/.github/workflows/library.yml b/.github/workflows/library.yml index 84d572fb32..55c26fd07c 100644 --- a/.github/workflows/library.yml +++ b/.github/workflows/library.yml @@ -49,7 +49,12 @@ jobs: git config --global --add core.autocrlf input - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: "3.12" - name: Create library alias if: ${{ inputs.alias }}