diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ababf77..24f9323 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,13 +5,17 @@ on: jobs: smoke-test: - runs-on: macos-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-14, macos-15, macos-26] steps: - - name: Checkout Repo - uses: actions/checkout@v4 + - name: Checkout Repo + uses: actions/checkout@v4 - - name: Build - run: swift build -v + - name: Build + run: swift build -v - - name: Run Smoke Test - run: swift run -v DictionaryKitExample + - name: Run Smoke Test + run: swift run -v DictionaryKitExample diff --git a/Package.swift b/Package.swift index 7d1df1f..d7ea7fa 100644 --- a/Package.swift +++ b/Package.swift @@ -1,9 +1,12 @@ -// swift-tools-version: 6.1 +// swift-tools-version: 5.4 import PackageDescription let package = Package( name: "DictionaryKit", + platforms: [ + .macOS(.v10_13) + ], products: [ .library( name: "DictionaryKit", @@ -12,7 +15,7 @@ let package = Package( ], targets: [ .target( - name: "DictionaryKit", + name: "DictionaryKit" ), .executableTarget( name: "DictionaryKitExample",