Skip to content

Commit 1ae5ba7

Browse files
authored
Use v5 language mode for containertool (#6)
* containertool: Switch to Swift 5 language mode The nightly mainline compiler used by the pull request checks objects to the way containertool uses stderr. Switch to language mode 5 until this can be rewritten. * ci: Enable API breakage checks * docs: Generate documentation for containertool
1 parent 5eb4b07 commit 1ae5ba7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
uses: apple/swift-nio/.github/workflows/soundness.yml@main
1111
with:
1212
api_breakage_check_container_image: "swift:6.0-noble"
13-
api_breakage_check_enabled: false
1413
docs_check_container_image: "swift:6.0-noble"
1514
license_header_check_project_name: "SwiftContainerPlugin"
1615
shell_check_container_image: "swift:6.0-noble"

.spi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ version: 1
22
builder:
33
configs:
44
- documentation_targets:
5-
- ContainerRegistry
5+
- containertool
66
- ContainerImageBuilderPlugin

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ let package = Package(
4343
.product(name: "ArgumentParser", package: "swift-argument-parser"),
4444
.product(name: "Crypto", package: "swift-crypto", condition: .when(platforms: [.linux])),
4545
.target(name: "ContainerRegistry"), .target(name: "VendorCNIOExtrasZlib"),
46-
]
46+
],
47+
swiftSettings: [.swiftLanguageMode(.v5)]
4748
),
4849
.target(
4950
// Vendored from https://github.com/apple/swift-nio-extras

0 commit comments

Comments
 (0)