chore: Xcode 14.3.1 is also not available on github #24
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
test-xcode: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-software for versions | |
xcode: | |
- 15.2 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Select Xcode ${{ matrix.xcode }} | |
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v |