Skip to content

Conversation

@1998code
Copy link
Owner

@1998code 1998code commented Apr 21, 2025

This pull request introduces several updates to the Swift project, including adjustments to workflows, compatibility changes, and documentation improvements. The most notable changes involve adding support for multiple Xcode versions in the CI workflow, downgrading the Swift tools version, and improving the README.md formatting for clarity.

Workflow updates:

  • .github/workflows/swift.yml: Added separate jobs for xcode-16-3, xcode-15-4, and xcode-15-0 to support multiple Xcode versions. Testing steps have been commented out for all jobs. [1] [2]

Compatibility changes:

  • Package.swift: Downgraded the Swift tools version from 6.0 to 5.9 to align with broader compatibility.
  • Package.swift: Commented out the testTarget definition, effectively disabling tests for the package.

Documentation improvements:

  • README.md: Reformatted the "Tested Platforms and Environment" section into a table for better readability. Added a table to clarify Xcode version requirements, including the latest, minimum, and Swift version tested (SVT).

@1998code 1998code requested a review from Copilot April 21, 2025 01:07
@1998code 1998code self-assigned this Apr 21, 2025
@1998code 1998code added the enhancement New feature or request label Apr 21, 2025

This comment was marked as outdated.

@1998code 1998code changed the title Reduce stv min from 6.0 to 5.9 + Add Xcode tests Reduce STV + Add Xcode tests Apr 21, 2025
@1998code 1998code requested a review from Copilot April 21, 2025 01:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adjusts the Continuous Integration workflow to support multiple Xcode versions and downgrades the Swift tools version for improved compatibility with older environments. The key changes include:

  • Adding new workflow jobs for Xcode 15.4, 15.0, and 14.3 alongside the renamed xcode-16-3 job.
  • Downgrading the Swift tools version in Package.swift from 6.0 to 5.9.
  • Updating the README.md to present platform and version information in a table format.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md Reformatted table for supported platforms and version information.
Package.swift Downgraded Swift tools version and commented out the test target.
.github/workflows/swift.yml Added and renamed workflow jobs for multiple Xcode versions with test steps commented out.
Comments suppressed due to low confidence (3)

Package.swift:26

  • The testTarget for 'SwiftGlassTests' has been commented out. If the tests are intended to validate functionality, please re-enable them or provide a comment clarifying their removal.
.testTarget(

.github/workflows/swift.yml:23

  • Test steps are commented out in the workflow jobs while the PR indicates an effort to add Xcode tests. Please confirm if tests should be re-enabled to maintain CI validation across multiple Xcode versions.
# - name: Test

README.md:47

  • [nitpick] The Xcode row in the table uses an ambiguous header with an empty second column and 'SVT' as a heading. Consider using more explicit headers such as 'Latest Version', 'Minimum Version', and 'Swift Tools Version' for clarity.
| Xcode | | |

@1998code 1998code merged commit 4adccad into main Apr 21, 2025
3 checks passed
@1998code 1998code deleted the compatibility branch April 21, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants