mirror of
https://github.com/syssi/esphome-votronic.git
synced 2025-07-23 04:23:02 +02:00
Bump python version to 3.12
This commit is contained in:
26
.github/workflows/ci.yaml
vendored
26
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -221,10 +221,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
|
||||
|
Reference in New Issue
Block a user