From 0acdd72c58146d5196e319641540e5994ade88f4 Mon Sep 17 00:00:00 2001 From: "Sven A. Schmidt" Date: Sat, 4 Nov 2023 14:41:17 +0100 Subject: [PATCH 1/2] Remove outdated LinuxMain.swift --- Tests/LinuxMain.swift | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 Tests/LinuxMain.swift diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100644 index 9b65426..0000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright Dave Verwer, Sven A. Schmidt, and other contributors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#if swift(>=5) - -#else - -import XCTest - -@testable import SemanticVersionTests - -extension SemanticVersionTests { - static var allTests: [(String, (SemanticVersionTests) -> () throws -> Void)] = [ - ("test_semVerRegex_valid", test_semVerRegex_valid), - ("test_allow_leading_v", test_allow_leading_v), - ("test_semVerRegex_invalid", test_semVerRegex_invalid), - ("test_init", test_init), - ("test_description", test_description), - ("test_Comparable", test_Comparable), - ("test_isStable", test_isStable), - ("test_isMajorRelease", test_isMajorRelease), - ("test_isMinorRelease", test_isMinorRelease), - ("test_isPatchRelease", test_isPatchRelease), - ] -} - -XCTMain([ - testCase(SemanticVersionTests.allTests) -]) - -#endif From fcacf3c03b6ef4743c26daa8a0d2c4f0fe114b56 Mon Sep 17 00:00:00 2001 From: "Sven A. Schmidt" Date: Sat, 4 Nov 2023 14:43:11 +0100 Subject: [PATCH 2/2] Bump to 5.6 minimum version --- .github/workflows/ci.yml | 2 +- Package.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a37326..dd86475 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: run-tests: strategy: matrix: - swift-version: [5.3, 5.4, 5.5, 5.6] + swift-version: [5.6, 5.7, 5.8, 5.9] runs-on: ubuntu-20.04 steps: - uses: fwal/setup-swift@v1 diff --git a/Package.swift b/Package.swift index 3434b07..bf4aa0c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.6 // Copyright Dave Verwer, Sven A. Schmidt, and other contributors. //