Skip to content

Commit

Permalink
Bump python version to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jun 21, 2024
1 parent 1ac795f commit 119a9af
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: esphome-pip-3.9-${{ hashFiles('setup.py') }}
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
restore-keys: |
esphome-pip-3.9-
esphome-pip-3.12-
- name: 💣 Clone esphome project
run: git clone https://github.com/esphome/esphome.git
Expand Down Expand Up @@ -77,14 +77,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: esphome-pip-3.9-${{ hashFiles('setup.py') }}
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
restore-keys: |
esphome-pip-3.9-
esphome-pip-3.12-
- name: 💣Clone esphome project
run: git clone https://github.com/esphome/esphome.git
Expand Down Expand Up @@ -131,14 +131,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: esphome-pip-3.9-${{ hashFiles('setup.py') }}
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
restore-keys: |
esphome-pip-3.9-
esphome-pip-3.12-
- name: 💣Clone esphome project
run: git clone https://github.com/esphome/esphome.git
Expand Down Expand Up @@ -176,10 +176,10 @@ jobs:
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/checkout@v2
- name: Setup Python 3.9
- name: Setup Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down Expand Up @@ -218,10 +218,10 @@ jobs:
path: .pioenvs
key: esphome-compile-pioenvs-${{ hashFiles('*.yaml') }}
restore-keys: esphome-compile-pioenvs-
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down

0 comments on commit 119a9af

Please sign in to comment.