From 4ea0c41306a01dcdeab837b376f9a41bec7202d8 Mon Sep 17 00:00:00 2001 From: Vyacheslav Khorkov Date: Sat, 9 Mar 2024 19:40:43 +0500 Subject: [PATCH 1/2] Bump min macos version to 13 --- .github/workflows/checks.yml | 16 ++++++++-------- .github/workflows/release.yml | 2 +- Package.swift | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 48a4fa8d..1ffe1f3e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -17,14 +17,14 @@ jobs: swiftlint: name: SwiftLint - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - run: swiftlint --strict --quiet --reporter github-actions-logging install: name: Install Script - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - name: Install Rugby @@ -35,7 +35,7 @@ jobs: release: name: Build Binary - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 @@ -48,7 +48,7 @@ jobs: unit-tests: name: Unit Tests - runs-on: macos-latest + runs-on: macos-13 env: LCOV_PATH: .build/artifacts/info.lcov BUILD_FOLDER: .build/debug/RugbyPackageTests.xctest/Contents/MacOS/RugbyPackageTests @@ -90,7 +90,7 @@ jobs: smoke-build-frameworks: name: Smoke Build (Frameworks) needs: unit-tests - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -132,7 +132,7 @@ jobs: smoke-build-libs: name: Smoke Build (Libraries) needs: unit-tests - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -174,7 +174,7 @@ jobs: smoke-test-multiproj: name: Smoke Test (Multiproj) needs: unit-tests - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -204,7 +204,7 @@ jobs: smoke-test: name: Smoke Test (Frameworks) needs: unit-tests - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c591089f..ea5f80d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ permissions: jobs: bump: - runs-on: macos-latest + runs-on: macos-13 steps: # Checkout with custom token for pushin to protected branch - uses: actions/checkout@v4 diff --git a/Package.swift b/Package.swift index f6f11c00..8311cd6f 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "Rugby", - platforms: [.macOS(.v12)], + platforms: [.macOS(.v13)], products: [ .executable(name: "rugby", targets: ["Rugby"]), .library(name: "RugbyFoundation", targets: ["RugbyFoundation"]) From 43c3dd1b6eba06a67ac8e90e0de7e78691ee1668 Mon Sep 17 00:00:00 2001 From: Vyacheslav Khorkov Date: Sat, 9 Mar 2024 19:41:02 +0500 Subject: [PATCH 2/2] Bump swift version to 5.8 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 8311cd6f..df697199 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.8 import PackageDescription