|
| 1 | +name: PR |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + branches: [main] |
| 6 | + types: [opened, reopened, synchronize] |
| 7 | + |
| 8 | +jobs: |
| 9 | + soundness: |
| 10 | + name: Soundness |
| 11 | + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main |
| 12 | + with: |
| 13 | + license_header_check_project_name: "gRPC" |
| 14 | + |
| 15 | + swift-license-check: |
| 16 | + name: Swift License Header Check |
| 17 | + runs-on: ubuntu-latest |
| 18 | + steps: |
| 19 | + - name: Checkout repository |
| 20 | + uses: actions/checkout@v4 |
| 21 | + with: |
| 22 | + persist-credentials: false |
| 23 | + - name: Mark the workspace as safe |
| 24 | + run: git config --global --add safe.directory ${GITHUB_WORKSPACE} |
| 25 | + - name: Run license check |
| 26 | + run: | |
| 27 | + ./scripts/license-check.sh |
| 28 | +
|
| 29 | + unit-tests: |
| 30 | + name: Unit Tests |
| 31 | + uses: apple/swift-nio/.github/workflows/unit_tests.yml@main |
| 32 | + with: |
| 33 | + linux_5_9_enabled: false |
| 34 | + linux_5_10_enabled: false |
| 35 | + linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 36 | + linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 37 | + linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" |
| 38 | + |
| 39 | + integration-tests: |
| 40 | + name: Integration Tests |
| 41 | + uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main |
| 42 | + with: |
| 43 | + name: "Integration Tests" |
| 44 | + matrix_linux_5_9_enabled: false |
| 45 | + matrix_linux_5_10_enabled: false |
| 46 | + matrix_linux_command: "./dev/integration_tests.sh" |
| 47 | + |
| 48 | + cxx-interop: |
| 49 | + name: Cxx Interop |
| 50 | + uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
| 51 | + with: |
| 52 | + linux_5_9_enabled: false |
| 53 | + linux_5_10_enabled: false |
0 commit comments