Skip to content

Commit

Permalink
Bump installed Python and fix stage name (WordPress#5029)
Browse files Browse the repository at this point in the history
* Bump installed Python and fix stage name

* Have multiple versions of Python
  • Loading branch information
dhruvkb authored and Danil49 committed Oct 29, 2024
1 parent ab3a261 commit 3ea420f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ runs:
if: inputs.setup_python == 'true'
uses: actions/setup-python@v5
with:
# Ensure that it matches `python_version` field in the following files:
# - `automations/python/Pipfile`
# - `dead_links/Pipfile`
python-version: "3.11"
# Ensure that it matches the `requires-python` field in various
# `pyproject.toml` files.
python-version: |
3.11
3.12
- name: Setup global Python deps
if: inputs.setup_python == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ repos:
language: system
pass_filenames: false
stages:
- push
- pre-push

- id: render-release-drafter
name: render-release-drafter
Expand Down

0 comments on commit 3ea420f

Please sign in to comment.