diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 0ca10b0..b5fca98 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -4,10 +4,16 @@ on: [push] jobs: tests: name: Unit Tests - runs-on: macOS-latest + runs-on: macos-26 steps: - name: Checkout repository uses: actions/checkout@v1 + - name: List available Xcode versions + run: ls /Applications | grep Xcode + - name: Set up Xcode version + run: sudo xcode-select -s /Applications/Xcode_26.5.app/Contents/Developer + - name: Show current version of Xcode + run: xcodebuild -version - name: Run Unit Tests run: | swift test diff --git a/Package.swift b/Package.swift index 22dbb6d..20cbae3 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:6.1 +// swift-tools-version:6.3 import PackageDescription diff --git a/Sources/SwiftTools/Build/Domain/BuildInteractor.swift b/Sources/SwiftTools/Build/Domain/BuildInteractor.swift index 66d6af0..e069bdf 100644 --- a/Sources/SwiftTools/Build/Domain/BuildInteractor.swift +++ b/Sources/SwiftTools/Build/Domain/BuildInteractor.swift @@ -64,11 +64,16 @@ final class BuildInteractorImpl: BuildInteractor { preserveUnbeautifiedLines: true, additionalLines: { nil } ) + let isVerbose = verboseController.isVerbose() - let output = OutputHandler(quiet: false, quieter: true, isCI: false) { line in + let output = OutputHandler( + quiet: false || isVerbose, + quieter: true || isVerbose, + isCI: false + ) { line in let normalizedLine = line.trimmingCharacters(in: .whitespacesAndNewlines) if !normalizedLine.isEmpty { - if !normalizedLine.hasPrefix("Executed") && !normalizedLine.hasPrefix("Test Suite") { + if !normalizedLine.hasPrefix("Executed") && !normalizedLine.hasPrefix("Test Suite") || isVerbose { print(line) } }