-
-
Notifications
You must be signed in to change notification settings - Fork 14
Adopt Swift 5.9 #22
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
Adopt Swift 5.9 #22
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #22 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 936 921 -15
=========================================
- Hits 936 921 -15
|
bachand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
| s.authors = 'Dan Federman' | ||
| s.source = { :git => 'https://github.com/dfed/swift-async-queue.git', :tag => s.version } | ||
| s.swift_version = '5.8' | ||
| s.swift_version = '5.9' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| @@ -1,4 +1,4 @@ | |||
| // swift-tools-version: 5.8 | |||
| // swift-tools-version: 5.9 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| // Continuation will be captured during stream creation, so it is safe to force unwrap here. | ||
| // If this force-unwrap fails, something is fundamentally broken in the Swift runtime. | ||
| taskStreamContinuation = capturedTaskStreamContinuation! | ||
| let (taskStream, taskStreamContinuation) = AsyncStream<ActorTask>.makeStream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So. Much. Better!
| typhoeus (~> 1.0) | ||
| cocoapods-deintegrate (1.0.5) | ||
| cocoapods-downloader (1.6.3) | ||
| cocoapods-downloader (2.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a major version update. I am commenting so that this stands out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to the cocoapods version update. Doesn't affect anyone downstream.
| run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer | ||
| - name: Build and Test Framework | ||
| run: xcrun swift test -c release -Xswiftc -enable-testing | ||
| run: bundle exec pod lib lint --verbose --fail-fast --swift-version=5.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
As title. Swift 5.9 introduces new API that allow us to remove our force unwraps!