Update dependencies #62
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 macOS | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Test Swift@${{ matrix.swift }} on macOS | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
swift: ["5.2", "5.6"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install swiftenv | |
run: brew install kylef/formulae/swiftenv | |
- name: Install and set swift@${{ matrix.swift }} | |
if: ${{ matrix.swift }} != "5.6" | |
run: | | |
swiftenv install ${{ matrix.swift }} | |
swiftenv global ${{ matrix.swift }} | |
- name: Run tests | |
run: | | |
swift --version | |
swift test -v --enable-test-discovery |