Skip to content

Commit f086eda

Browse files
committed
Fix CI
1 parent 0ae6092 commit f086eda

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/workflows/pull_request.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ jobs:
1313
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1414
with:
1515
license_header_check_project_name: "Swift Async Algorithms"
16+
format_check_container_image: "swift:6.0.3-noble"

Sources/Example/Example.swift

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift Async Algorithms open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
//
10+
//===----------------------------------------------------------------------===//
11+
12+
#if compiler(>=6.0)
113
import AsyncAlgorithms
214

315
@available(macOS 15.0, *)
@@ -65,3 +77,6 @@ struct Example {
6577
}
6678
}
6779
}
80+
#else
81+
fatalError("Example only supports Swift 6.0 and above")
82+
#endif

Tests/AsyncAlgorithmsTests/Support/ManualExecutor.swift

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift Async Algorithms open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
//
10+
//===----------------------------------------------------------------------===//
11+
112
import DequeModule
213
import Synchronization
314

0 commit comments

Comments
 (0)