Skip to content

Commit 8aa449e

Browse files
authored
Added require-explicit-sendable to macOS CI. (#39)
Added require-explicit-sendable to macOS CI ### Motivation: Make macOS CI fail in case we have public types not explicitly marked as Sendable or explicitly marked as non sendable. ### Modifications: Enabled extra flags to macOS CI build. ### Result: Swift compiler will check for public types without an explicit Sendable statement.
1 parent 7617e72 commit 8aa449e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ jobs:
3232
with:
3333
runner_pool: nightly
3434
build_scheme: swift-nio-oblivious-http-Package
35+
xcode_16_2_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable"
36+
xcode_16_3_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable"

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ jobs:
3636
with:
3737
runner_pool: general
3838
build_scheme: swift-nio-oblivious-http-Package
39+
xcode_16_2_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable"
40+
xcode_16_3_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable"

0 commit comments

Comments
 (0)