Skip to content

Commit abf4122

Browse files
committed
chore: Fix the test.yml workflow to simply pick the latest stable Xcode
1 parent c08d044 commit abf4122

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ on:
1111
jobs:
1212
test-xcode:
1313
runs-on: macos-latest
14-
strategy:
15-
matrix:
16-
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-software for versions
17-
xcode:
18-
- 15.2
1914

2015
steps:
2116
- uses: actions/checkout@v2
22-
- name: Select Xcode ${{ matrix.xcode }}
23-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
17+
- uses: maxim-lobanov/setup-xcode@v1
18+
with:
19+
xcode-version: latest-stable
2420
- name: Build
2521
run: swift build -v
2622
- name: Run tests

0 commit comments

Comments
 (0)