Skip to content

Commit 18c750a

Browse files
jketemaCopilot
andcommitted
Set up Python 3.12 for Swift formatting
The clang-format pre-commit job uses the repository's Python 3.12 hook environment, so install that interpreter before running pre-commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent abc11b3 commit 18c750a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/swift.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- uses: actions/checkout@v5
61+
- uses: actions/setup-python@v5
62+
with:
63+
python-version: '3.12'
6164
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
6265
name: Check that python code is properly formatted
6366
with:

0 commit comments

Comments
 (0)