From 8c75190add027ce3b598fbdf1ab6de07382f321e Mon Sep 17 00:00:00 2001 From: George Livas Date: Tue, 28 Nov 2023 14:26:53 +0000 Subject: [PATCH] fix: update xcode versions (#254) --- .gitignore | 3 ++- pkg/parser/validate/executor.go | 6 +----- pkg/parser/validate/executor_test.go | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index fc68dd78..75b4abb4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ node_modules coverage /reports __debug_bin -report.xml \ No newline at end of file +report.xml +.idea diff --git a/pkg/parser/validate/executor.go b/pkg/parser/validate/executor.go index e70e079b..8802938b 100644 --- a/pkg/parser/validate/executor.go +++ b/pkg/parser/validate/executor.go @@ -39,18 +39,14 @@ func (val Validate) validateSingleExecutor(executor ast.Executor) { // MacOSExecutor var ValidXCodeVersions = []string{ + "15.1.0", "15.0.0", "14.3.1", "14.2.0", "14.1.0", "14.0.1", "13.4.1", - "13.3.1", - "13.2.1", - "13.1.0", - "13.0.0", "12.5.1", - "11.7.0", } var ValidMacOSResourceClasses = []string{ diff --git a/pkg/parser/validate/executor_test.go b/pkg/parser/validate/executor_test.go index 401c02e0..41f1740d 100644 --- a/pkg/parser/validate/executor_test.go +++ b/pkg/parser/validate/executor_test.go @@ -41,7 +41,7 @@ workflows: executors: macos-ios-executor: macos: - xcode: "13.2.1" + xcode: "15.1.0" resource_class: large`, Diagnostics: []protocol.Diagnostic{ utils.CreateErrorDiagnosticFromRange(protocol.Range{