Skip to content

Commit 23146bc

Browse files
authored
[CI] Enable Linux nightly main on PRs (#137)
### Motivation PR CI was missing testing with nighly Linux toolchains from main. ### Modifications Enable nightly toolchain CI as well. ### Result More test coverage on PRs. ### Test Plan See this PR's CI if this works or if we need more changes.
1 parent 7e80669 commit 23146bc

11 files changed

+12
-3
lines changed

.github/workflows/pull_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
2020
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
2121
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
22-
linux_nightly_main_enabled: false
22+
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
2323

2424
integration-test:
2525
name: Integration test

Sources/OpenAPIRuntime/Base/Acceptable.swift

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
1313
//===----------------------------------------------------------------------===//
14+
import Foundation
1415

1516
/// The protocol that all generated `AcceptableContentType` enums conform to.
1617
public protocol AcceptableProtocol: RawRepresentable, Sendable, Hashable, CaseIterable where RawValue == String {}

Sources/OpenAPIRuntime/Base/ContentDisposition.swift

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
1313
//===----------------------------------------------------------------------===//
14+
import Foundation
1415

1516
/// A parsed representation of the `content-disposition` header described by RFC 6266 containing only
1617
/// the features relevant to OpenAPI multipart bodies.

Sources/OpenAPIRuntime/Interface/CurrencyTypes.swift

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import HTTPTypes
16+
import Foundation
1617

1718
/// A container for request metadata already parsed and validated
1819
/// by the server transport.

Sources/OpenAPIRuntime/Multipart/MultipartBoundaryGenerator.swift

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
1313
//===----------------------------------------------------------------------===//
14+
import Foundation
1415

1516
/// A generator of a new boundary string used by multipart messages to separate parts.
1617
public protocol MultipartBoundaryGenerator: Sendable {

Tests/OpenAPIRuntimeTests/Base/Test_OpenAPIValue.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414
import XCTest
15-
#if canImport(Foundation)
16-
@preconcurrency import Foundation
15+
import Foundation
16+
#if canImport(CoreFoundation)
1717
import CoreFoundation
1818
#endif
1919
@_spi(Generated) @testable import OpenAPIRuntime

Tests/OpenAPIRuntimeTests/Multipart/Test_MultipartBytesToFramesSequence.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import XCTest
1515
@_spi(Generated) @testable import OpenAPIRuntime
1616
import Foundation
17+
import HTTPTypes
1718

1819
final class Test_MultipartBytesToFramesSequence: Test_Runtime {
1920
func test() async throws {

Tests/OpenAPIRuntimeTests/Multipart/Test_MultipartFramesToBytesSequence.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import XCTest
1515
@_spi(Generated) @testable import OpenAPIRuntime
1616
import Foundation
17+
import HTTPTypes
1718

1819
final class Test_MultipartFramesToBytesSequence: Test_Runtime {
1920
func test() async throws {

Tests/OpenAPIRuntimeTests/Multipart/Test_MultipartFramesToRawPartsSequence.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import XCTest
1515
@_spi(Generated) @testable import OpenAPIRuntime
1616
import Foundation
17+
import HTTPTypes
1718

1819
final class Test_MultipartFramesToRawPartsSequence: Test_Runtime {
1920
func test() async throws {

Tests/OpenAPIRuntimeTests/Multipart/Test_MultipartRawPartsToFramesSequence.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import XCTest
1515
@_spi(Generated) @testable import OpenAPIRuntime
1616
import Foundation
17+
import HTTPTypes
1718

1819
final class Test_MultipartRawPartsToFramesSequence: Test_Runtime {
1920
func test() async throws {

Tests/OpenAPIRuntimeTests/Multipart/Test_MultipartValidationSequence.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import XCTest
1515
@_spi(Generated) @testable import OpenAPIRuntime
1616
import Foundation
17+
import HTTPTypes
1718

1819
final class Test_MultipartValidationSequence: Test_Runtime {
1920
func test() async throws {

0 commit comments

Comments
 (0)