Skip to content

Commit

Permalink
Keep Swift 5 macOS build for the time being (#5816)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny authored Oct 1, 2024
1 parent c4a7325 commit 63ee194
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/SwiftLintCore/Models/Issue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ public enum Issue: LocalizedError, Equatable {
case baselineNotReadable(path: String)

/// Flag to enable warnings for deprecations being printed to the console. Printing is enabled by default.
#if compiler(>=6.0)
package nonisolated(unsafe) static var printDeprecationWarnings = true
#else
package static var printDeprecationWarnings = true
#endif

/// Hook used to capture all messages normally printed to stdout and return them back to the caller.
///
Expand Down
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
strategy:
maxParallel: 10
matrix:
'13':
image: 'macOS-13'
xcode: '15.2'
'14':
image: 'macOS-14'
xcode: '15.4'
Expand Down

0 comments on commit 63ee194

Please sign in to comment.