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 41abee9 commit ca1ce83
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 @@ -27,14 +27,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 @@ -76,14 +76,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 @@ -130,14 +130,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 @@ -174,10 +174,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 @@ -220,10 +220,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 ca1ce83

Please sign in to comment.