Use python 3.12 on Netlify and CI (#4375)

This commit is contained in:
Jesse Hills 2024-10-23 20:02:55 +13:00 committed by GitHub
parent e9853713ad
commit 0e97ebd387
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
@ -24,10 +24,10 @@ jobs:
with:
repo: cloudcannon/pagefind
- uses: actions/checkout@v4.2.1
- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
- name: Install dependencies
run: pip install -r requirements.txt -r requirements_test.txt
- name: Register problem matchers

View File

@ -1,7 +1,7 @@
[build]
publish = "_build/html"
command = "make netlify"
environment = { BASE_URL = "https://esphome.io" }
environment = { BASE_URL = "https://esphome.io", PYTHON_VERSION = "3.12" }
[context.beta]
environment = { BASE_URL = "https://beta.esphome.io" }