name: Tests on: push: branches: [main] pull_request: jobs: test: runs-on: ubuntu-latest container: # Pinned rather than tracking latest: a toolchain bump should be a commit, # not a surprise on an unrelated push. image: swift:6.2 steps: - uses: actions/checkout@v4 - name: Toolchain run: swift --version # This only covers IPodSyncKit — the format logic, which is where every # test lives. The Contacts and EventKit readers are compiled out on Linux # and can only be exercised on a Mac. - name: Build run: swift build --build-tests - name: Test run: swift test