diff --git a/.github/workflows/swift-build-testing.yml b/.github/workflows/swift-build-testing.yml index dc6e208..3d58a3b 100644 --- a/.github/workflows/swift-build-testing.yml +++ b/.github/workflows/swift-build-testing.yml @@ -14,13 +14,15 @@ jobs: name: Swift ${{ matrix.swift }} on ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] - swift: ["6"] + os: [ubuntu-latest, macos-latest] + swift: ["6.0", "5.9"] runs-on: ${{ matrix.os }} steps: - - uses: swift-actions/setup-swift@v2 + - uses: SwiftyLab/setup-swift@latest with: - swift-version: ${{ matrix.swift }} + swift-version: ${{ matrix.swift }} + - name: Get swift version + run: swift --version - uses: actions/checkout@v4 - name: Run tests run: swift test -v --enable-code-coverage