Skip to content

Commit

Permalink
Explicitly use python 3.12 for CI
Browse files Browse the repository at this point in the history
Stick with default (3.8) for ESP32 IDF 4.3, doesn't work with anything later
  • Loading branch information
mikee47 committed Mar 16, 2024
1 parent 71e3533 commit 3552903
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci-esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3552903

Please sign in to comment.