diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 86c43c012..3fea02fed 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -13,10 +13,14 @@ jobs: build: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf with: swift-version: "5.8" + - name: List Xcode installations + run: sudo ls -1 /Applications | grep "Xcode" + - name: Select Xcode 15.1 + run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer - name: Build run: swift build -v - name: Run tests