fix: add @unknown default to URLSessionTask.State ext switch #159
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: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: macos-12 | |
# Prevent duplicate builds on internal PRs. | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
matrix: | |
swift: ["5.8"] | |
steps: | |
- uses: fwal/setup-swift@v1 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: xcrun swift test --verbose |