Skip to content
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

Add support for swift 6 nightlies #673

Open
mman opened this issue Jun 21, 2024 · 3 comments
Open

Add support for swift 6 nightlies #673

mman opened this issue Jun 21, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@mman
Copy link

mman commented Jun 21, 2024

With the upcoming migration to Swift 6 and Swift Testing it would be cool if support for swift 6 can be added early via nightlies so that work in progress towards swift 6 migration, especially around concurrency and testing, can already be part of the workflows on GitHub.

@mman mman added the enhancement New feature or request label Jun 21, 2024
@fwal
Copy link
Collaborator

fwal commented Jul 3, 2024

Yeah I agree this would be great! The only real hurdle is resolving the path to the pkg to download as they contain the date when the last snapshot where created (unlike stable releases that have a fixed path).
Once that is figured out (would be great if they would have a feed or something) this would be easy to implement. 🙂

@mman
Copy link
Author

mman commented Jul 4, 2024

Exactly, I'm aware of the limitation, I think it may need a collaboration from the swift build team to perhaps provide a stable symlink and or sum file so that the action can easily compare whether new nightly was published. Alternatively hardcoding the path with date to the action and re-release a patch version of this action automatically whenever new nightly is published, but that's I assume needles work unless automated as much as possible.

@khlopko
Copy link

khlopko commented Aug 2, 2024

Hi! Swiftly fetches GitHub tags from Swift main repository, and uses regex to match specified snapshot and fetch date in the end (parsing snapshot function). Maybe this can be used to add snapshot support to GitHub Actions similarly as Swiftly does, and specified something like swift-version: "main-snapshot"?

UPD: Pull request has working implementation.

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

No branches or pull requests

3 participants