Skip to content

Commit 2e72905

Browse files
authored
Bump swift-format to 5.9 (#20)
Bump swift-format to 5.9 ### Motivation As per apple/swift-openapi-generator#175. ### Modifications Bump swift-format, update to make soundness pass. ### Result Using swift-format 5.9. ### Test Plan Soundness passed. Reviewed by: dnadoba Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.8) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #20
1 parent f3fa4a5 commit 2e72905

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/OpenAPIAsyncHTTPClientTests/Test_AsyncHTTPClientTransport.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ class Test_AsyncHTTPClientTransport: XCTestCase {
118118

119119
struct TestSender: HTTPRequestSending {
120120
var sendClosure:
121-
@Sendable (AsyncHTTPClientTransport.Request, HTTPClient, TimeAmount) async throws -> AsyncHTTPClientTransport
122-
.Response
121+
@Sendable (AsyncHTTPClientTransport.Request, HTTPClient, TimeAmount) async throws ->
122+
AsyncHTTPClientTransport.Response
123123
func send(
124124
request: AsyncHTTPClientTransport.Request,
125125
with client: HTTPClient,

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p $HOME/.tools
1717
RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
1818

1919
# swift-format
20-
ARG swiftformat_version=508.0.0
20+
ARG swiftformat_version=509.0.0
2121
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/apple/swift-format $HOME/.tools/swift-format-source
2222
RUN cd $HOME/.tools/swift-format-source && swift build -c release
23-
RUN ln -s $HOME/.tools/swift-format-source/.build/release/swift-format $HOME/.tools/swift-format
23+
RUN ln -s $HOME/.tools/swift-format-source/.build/release/swift-format $HOME/.tools/swift-format

0 commit comments

Comments
 (0)