From 63ee1944bd40ed50aaae3d8b1a8e2c60090f119f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=20M=C3=B6sch?= Date: Tue, 1 Oct 2024 17:25:03 +0200 Subject: [PATCH] Keep Swift 5 macOS build for the time being (#5816) --- Source/SwiftLintCore/Models/Issue.swift | 4 ++++ azure-pipelines.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Source/SwiftLintCore/Models/Issue.swift b/Source/SwiftLintCore/Models/Issue.swift index 0954bac837..cb5e8615c4 100644 --- a/Source/SwiftLintCore/Models/Issue.swift +++ b/Source/SwiftLintCore/Models/Issue.swift @@ -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. /// diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3ec9125914..6fc1eb3f11 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,6 +19,9 @@ jobs: strategy: maxParallel: 10 matrix: + '13': + image: 'macOS-13' + xcode: '15.2' '14': image: 'macOS-14' xcode: '15.4'