From 0f1fab44804b1918698c550e4a3f6bf8bdb1c345 Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Fri, 12 Apr 2024 10:02:52 +1000 Subject: [PATCH] Use Swift 5.10 toolchain --- .buildkite/pipeline.yml | 2 +- Package.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index c1eb62d..25425ac 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -3,7 +3,7 @@ common_params: plugins: &common_plugins - automattic/a8c-ci-toolkit#3.1.0 env: &common_env - IMAGE_ID: xcode-15.0.1 + IMAGE_ID: xcode-15.3-v3 # This is the default pipeline – it will build and test the pod steps: diff --git a/Package.swift b/Package.swift index db209b2..6bda3a7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.10 import Foundation import PackageDescription @@ -73,7 +73,7 @@ func swiftLintPlugin() -> PackageDescription.Package.Dependency { return .package(url: url, from: "0.54.0") } - return .package(url: url, .exactItem(version)) + return .package(url: url, exact: version) } func loadSwiftLintVersion() -> Version? {