Skip to content

Commit f43e8ed

Browse files
authored
Use macos-26 with Python 3.13 for format.yml (#199)
Signed-off-by: Glenn Jocher <[email protected]>
1 parent 97cd726 commit f43e8ed

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/format.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ permissions:
1919

2020
jobs:
2121
actions:
22-
# Run on ubuntu as problems with docformatter on macOS-26 with Python 3.14
23-
runs-on: ubuntu-latest
22+
# Run with Python 3.13 as problems with docformatter on macOS-26 with Python 3.14
23+
runs-on: macos-26
2424
steps:
25+
- name: Setup Python
26+
uses: actions/setup-python@v6
27+
with:
28+
python-version: "3.13"
2529
- name: Run Ultralytics Actions
2630
uses: ultralytics/actions@main
2731
with:
2832
token: ${{ secrets._GITHUB_TOKEN || secrets.GITHUB_TOKEN }} # Auto-generated token
2933
labels: true # Auto-label issues/PRs using AI
3034
python: true # Format Python with Ruff and docformatter
3135
prettier: true # Format YAML, JSON, Markdown, CSS
32-
swift: false # Format Swift (requires macos-latest)
36+
swift: true # Format Swift (requires macos-latest)
3337
spelling: true # Check spelling with codespell
3438
links: false # Check broken links with Lychee
3539
summary: true # Generate AI-powered PR summaries

0 commit comments

Comments
 (0)