From 119a9af92b4188c2fb60f2051480385db8537359 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Fri, 21 Jun 2024 08:11:25 +0200 Subject: [PATCH] Bump python version to 3.12 --- .github/workflows/ci.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 786b0e1..65c3ebe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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