Skip to content

Commit 0e97ebd

Browse files
authored
Use python 3.12 on Netlify and CI (#4375)
1 parent e985371 commit 0e97ebd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
permissions:
1212
contents: read
13-
13+
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1616
cancel-in-progress: true
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
repo: cloudcannon/pagefind
2626
- uses: actions/[email protected]
27-
- name: Set up Python 3.8
27+
- name: Set up Python 3.12
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: 3.8
30+
python-version: 3.12
3131
- name: Install dependencies
3232
run: pip install -r requirements.txt -r requirements_test.txt
3333
- name: Register problem matchers

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build]
22
publish = "_build/html"
33
command = "make netlify"
4-
environment = { BASE_URL = "https://esphome.io" }
4+
environment = { BASE_URL = "https://esphome.io", PYTHON_VERSION = "3.12" }
55

66
[context.beta]
77
environment = { BASE_URL = "https://beta.esphome.io" }

0 commit comments

Comments
 (0)