From 18c750a56d9dcca1ab3aa47f5ed481fb8a41937a Mon Sep 17 00:00:00 2001 From: jketema <93738568+jketema@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:26:31 +0000 Subject: [PATCH] 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> --- .github/workflows/swift.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 3c9b0deb4a1f..968015606401 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -58,6 +58,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + - uses: actions/setup-python@v5 + with: + python-version: '3.12' - uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 name: Check that python code is properly formatted with: