Skip to content

Commit

Permalink
Use python 3.12 on Netlify and CI (#4375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Oct 23, 2024
1 parent e985371 commit 0e97ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -24,10 +24,10 @@ jobs:
with:
repo: cloudcannon/pagefind
- uses: actions/[email protected]
- 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
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down

0 comments on commit 0e97ebd

Please sign in to comment.