1name: Build and test for Apple iOS swift 2 3on: 4 workflow_dispatch: 5 workflow_call: 6 push: 7 paths: 8 - '**spm**' 9 - '**swift**' 10 pull_request: 11 paths: 12 - '**spm**' 13 - '**swift**' 14 15jobs: 16 swift-build-run: 17 runs-on: macOS-latest 18 steps: 19 - uses: actions/checkout@v2 20 - name: Build 21 run: swift build 22 - name: Run 23 run: swift test 24