Skip to content

Commit

Permalink
ci: prefer python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 28, 2024
1 parent e040cf3 commit 3468790
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
permissions:
pull-requests: write
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Weblate automerge
if: github.actor == 'weblate'
steps:
Expand Down
2 changes: 1 addition & 1 deletion update-workflow
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for job_name in data["jobs"]:
float(step["with"]["python-version"])
except (KeyError, ValueError):
continue
step["with"]["python-version"] = "3.11"
step["with"]["python-version"] = "3.12"
modified = True
uses = step.get("uses", "")
if uses.startswith("actions/checkout@") and uses != "actions/checkout@v4":
Expand Down

0 comments on commit 3468790

Please sign in to comment.