diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3f6365..16ce6fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,19 +8,25 @@ jobs: max-parallel: 5 fail-fast: false matrix: - os: [macos-13, macos-latest, ubuntu-latest, windows-latest] + os: [macos-13, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: + - if: runner.os == 'Windows' name: Setup Swift uses: compnerd/gha-setup-swift@main with: branch: swift-5.9.2-release tag: 5.9.2-RELEASE - + + - if: runner.os != 'Windows' + uses: swift-actions/setup-swift@v1 + with: + swift-version: "5.9" + - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: swift build