Skip to content

Commit ba68a8e

Browse files
committed
Add Swift 6 toolchains to CI.
This does not update the Package.swift to also support a full Swift 6 mode, that can be done in the future. This just ensure things build in the current setup with the new toolchain as expected. This does not drop 5.8 yet, we'd said policy wise we were going to only support three at a time, not sure if nio has done it yet, maybe do it with them also?
1 parent 79cd72d commit ba68a8e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
# seems better. This should also ensure protobuf caching changes with
2626
# each new image incase system in the Swift image are changed/updated.
2727
swift:
28+
- version: 6.0.0-noble
29+
hook: "SWIFT_BUILD_TEST_HOOK=\"-Xswiftc -warnings-as-errors\""
2830
- version: 5.10.1-noble
2931
# No "hook", see https://github.com/apple/swift-protobuf/issues/1560 for the
3032
# current issue with using -warnings-as-errors on linux.

.github/workflows/regular_conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# seems better. This should also ensure protobuf caching changes with
3636
# each new image incase system in the Swift image are changed/updated.
3737
swift:
38-
- 5.10.1-noble
38+
- 6.0.0-noble
3939
# protobuf_git can reference a commit, tag, or branch
4040
# commit: "commits/6935eae45c99926a000ecbef0be20dfd3d159e71"
4141
# tag: "ref/tags/v3.11.4"

0 commit comments

Comments
 (0)