Skip to content

Setup Swift more Swiftly 🚀 (setup-swift 3.0) #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft

Setup Swift more Swiftly 🚀 (setup-swift 3.0) #710

wants to merge 63 commits into from

Conversation

fwal
Copy link
Collaborator

@fwal fwal commented Apr 23, 2025

This is an effort to rip out the old setup and replace it entirely with Swiftly - the preferred way to setup Swift going forward.

This brings several benefits like a unified way to setup Swift on all platforms and support for new Swift versions on day one 😅 and support for dev snapshots.

It will however be a breaking change as it will probably affect how version numbers is handled compared to the old version, stay tuned.

This will be a journey of trial-and-error...

General progress

Tip

This feature is work-in-progress but you can try it out using the "next" tag:
swift-actions/setup-swift@next
Testing would be greatly appreciated ❤️

Decisions

  • Should the toolchain also be cached (like in previous versions)? This cache could grow quite large.

@fwal fwal added enhancement New feature or request breaking This change is a (potential) breaking change labels Apr 23, 2025
@fwal fwal self-assigned this Apr 23, 2025
@fwal fwal mentioned this pull request Apr 23, 2025
@fwal fwal linked an issue Apr 23, 2025 that may be closed by this pull request
@fwal fwal changed the title Setup Swift more Swiftly 🚀 Setup Swift more Swiftly 🚀 (setup-swift 3.0) Apr 23, 2025
@fwal fwal added this to the 3.0 milestone Apr 24, 2025
@fwal
Copy link
Collaborator Author

fwal commented Apr 24, 2025

Whoop - it's alive!

dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request Apr 29, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade `setup-swift` to `next` tag in order to test `setup-swift 3.0` dev version.
- swift-actions/setup-swift#710

### Why are the changes needed?

To fix the flakiness issues during `Swift` installation on linux environment.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #94 from dongjoon-hyun/setup-swift-next.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@pepicrft
Copy link

This is amazing @fwal 🚀. Thanks for driving this effort forward.

@nickfyson
Copy link

This all sounds great!

Investigate GPG issues on linux

Particularly excited by this, I assume that's looking to address #591? 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change is a (potential) breaking change enhancement New feature or request
Projects
None yet
3 participants