Bump CI to Xcode 11.4
Fix build failures and warnings.
Add Switch Xcode Step to Tutorial
MODIFY
.github/workflows/deploy-doc-site.yml
.github/workflows/deploy-doc-site.yml
@@ -43,7 +43,7 @@ jobs:
bundle check || bundle install
# Don't need to run pod gen, the website script does that itself.
brew install sourcedocs
- sudo xcode-select -s /Applications/Xcode_11.3.1.app
+ sudo xcode-select -s /Applications/Xcode_11.4.app
# Docs dependencies
- name: Set up Python

MODIFY
.github/workflows/swift.yaml
.github/workflows/swift.yaml
@@ -51,11 +51,11 @@ jobs:
bundle exec pod gen Development.podspec
- name: Switch Xcode
- run: sudo xcode-select -s /Applications/Xcode_11.3.1.app
+ run: sudo xcode-select -s /Applications/Xcode_11.4.app
- name: Build & Test
run: |
- set -o pipefail && xcodebuild -workspace gen/Development/Development.xcworkspace -scheme ${{ matrix.scheme }} -destination platform\=iOS\ Simulator,OS\=13.3,name\=iPad\ Pro\ \(9.7-inch\) build test | xcpretty
+ set -o pipefail && xcodebuild -workspace gen/Development/Development.xcworkspace -scheme ${{ matrix.scheme }} -destination platform\=iOS\ Simulator,OS\=13.4,name\=iPad\ Pro\ \(9.7-inch\) build test | xcpretty
spm:
runs-on: macOS-latest
@@ -87,11 +87,14 @@ jobs:
run: |
bundle check || bundle install --path .bundle
+ - name: Switch Xcode
+ run: sudo xcode-select -s /Applications/Xcode_11.4.app
+
- name: Tutorial App
run: |
cd swift/Samples/Tutorial
bundle exec pod install
- set -o pipefail && xcodebuild -workspace Tutorial.xcworkspace -scheme Tutorial -destination platform\=iOS\ Simulator,OS\=13.3,name\=iPad\ Pro\ \(9.7-inch\) build test | xcpretty
+ set -o pipefail && xcodebuild -workspace Tutorial.xcworkspace -scheme Tutorial -destination platform\=iOS\ Simulator,OS\=13.4,name\=iPad\ Pro\ \(9.7-inch\) build test | xcpretty
documentation-lint:
runs-on: macOS-latest

MODIFY
swift/Workflow/Sources/AnyWorkflowConvertible.swift
swift/Workflow/Sources/AnyWorkflowConvertible.swift
@@ -70,9 +70,7 @@ extension AnyWorkflowConvertible where Output == Never {
.render(
context: context,
key: key,
- outputMap: { event -> AnyWorkflowAction<T> in
- switch event { }
- })
+ outputMap: { _ -> AnyWorkflowAction<T> in })
}
}

MODIFY
swift/Workflow/Tests/ConcurrencyTests.swift
swift/Workflow/Tests/ConcurrencyTests.swift
@@ -447,6 +447,7 @@ final class ConcurrencyTests: XCTestCase {
XCTAssertEqual(0, host.rendering.value.count)
struct SourceDifferentiatingWorkflow: Workflow {
+ typealias Output = Never
var step: Step
enum Step {

Bump CI to Xcode 11.4

Fix build failures and warnings.

Add Switch Xcode Step to Tutorial