ci: pin the Xcode 16.2 and 16.4 jobs to macos-15 (#359) #463
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Actions | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| name: Test on ${{ matrix.os }} - ${{ matrix.version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| version: "5.10" | |
| - os: ubuntu-latest | |
| version: "6.0" | |
| - os: ubuntu-latest | |
| version: "6.1" | |
| - os: ubuntu-latest | |
| version: "6.2" | |
| - os: macos-15 | |
| version: "16.2" # Swift 6.0 | |
| - os: macos-15 | |
| version: "16.4" # Swift 6.1 | |
| - os: macos-latest | |
| version: "26.1" # Swift 6.2 | |
| steps: | |
| - if: startsWith(matrix.os, 'ubuntu') | |
| uses: vapor/swiftly-action@v0.2 | |
| with: | |
| toolchain: ${{ matrix.version }} | |
| - if: startsWith(matrix.os, 'macos') | |
| name: Select Xcode | |
| run: sudo xcode-select -s "/Applications/Xcode_${{ matrix.version }}.app" | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Build and Test | |
| run: swift test | |
| env: | |
| CI: 1 |