ci: use Python 3.12 in Xcode workflows and exclude Source/Data from Swift/C++ CI - #721
ci: use Python 3.12 in Xcode workflows and exclude Source/Data from Swift/C++ CI#7211 commit merged into
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Pull Request Overview
This PR updates CI workflows to use Python 3.12 to resolve PEP 604 union syntax compatibility issues, and excludes Source/Data/** from Swift/C++ CI triggers since changes to dictionary data don't require rebuilding the Swift or C++ code.
- Updates Python version from implicit 3.9 to explicit 3.12 in Xcode and CodeQL workflows
- Adds
paths-ignorefilters to skip CI runs when onlySource/Data/**changes - Bumps GitHub Actions versions to latest (checkout@v5, setup-python@v6, commit-comment@v4)
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/continuous-integration-workflow-xcode-latest.yml |
Adds Python 3.12 setup, excludes Source/Data/**, and updates action versions |
.github/workflows/codeql.yml |
Adds Python 3.12 setup and excludes Source/Data/** from triggers |
PR Reviewer Guide 🔍(Review updated until commit fc97b69)Here are some key observations to aid the review process:
|
This comment was marked as resolved.
This comment was marked as resolved.
f330881 to
fc97b69
Compare
This comment was marked as resolved.
This comment was marked as resolved.
fc97b69 to
3a7120f
Compare
|
@tianjianjiang The PR is blocked by policy. Please sign your commits. Thanks! |
@zonble Sorry it happened again (when Claude Code committed for me). |
223c44a to
d77f4c7
Compare
d77f4c7 to
fca7412
Compare
ci: use Python 3.12 in Xcode workflows and exclude Source/Data from Swift/C++ CI
User description
Fixes Python 3.9 compatibility issues with PEP 604 union syntax by using Python 3.12 in CI workflows.
PR Type
Enhancement, Other
Description
Add Python 3.12 to CI workflows
Exclude
Source/Datafrom Swift/C++ CIUpgrade GitHub Actions to latest major versions
Keep CodeQL and Xcode CI paths in sync
Diagram Walkthrough
File Walkthrough
codeql.yml
CodeQL: set up Python 3.12 and refine scope.github/workflows/codeql.yml
Source/Data/**from triggersactions/checkout@v5actions/setup-python@v6continuous-integration-workflow-xcode-latest.yml
Xcode CI: add Python 3.12 and update actions.github/workflows/continuous-integration-workflow-xcode-latest.yml
Source/Data/**from triggersv5and commit-comment tov4actions/setup-python@v6