pull_request.yml 1.7 KB

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