From ee02f19cfc88a73c50a313082609a89fdf3f31f4 Mon Sep 17 00:00:00 2001 From: Marcelo Fabri Date: Mon, 23 Oct 2023 03:13:44 -0700 Subject: [PATCH] Fix CocoaPods job + Swift 5.9.1 (#5298) --- Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift | 2 ++ azure-pipelines.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift b/Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift index 4a6968889..30c06d3c3 100644 --- a/Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift +++ b/Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift @@ -5,6 +5,8 @@ final class SwiftVersionTests: SwiftLintTestCase { func testDetectSwiftVersion() { #if compiler(>=6.0.0) let version = "6.0.0" +#elseif compiler(>=5.9.1) + let version = "5.9.1" #elseif compiler(>=5.9.0) let version = "5.9.0" #elseif compiler(>=5.8.1) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5cf3bdb38..60d981f29 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,7 +41,7 @@ jobs: displayName: bundle install - script: bundle exec pod repo update displayName: pod repo update - - script: bundle exec pod lib lint --verbose + - script: bundle exec pod lib lint --platforms=macos --verbose displayName: pod lib lint - job: jazzy