ci: Migrate to GitHub Actions and reusable workflows, part two #1
Workflow file for this run
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: PR | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
soundness: | |
name: Soundness | |
uses: apple/swift-nio/.github/workflows/soundness.yml@main | |
with: | |
# These are set to false to stage this in with the old CI. | |
# A follow-up PR will cut them over. | |
api_breakage_check_enabled: false | |
broken_symlink_check_enabled: false | |
docs_check_enabled: false | |
format_check_enabled: false | |
license_header_check_enabled: false | |
license_header_check_project_name: "SwiftOpenAPIGenerator" | |
shell_check_enabled: false | |
unacceptable_language_check_enabled: false | |
unit-tests: | |
name: Unit tests | |
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | |
with: | |
linux_5_8_enabled: false | |
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error" | |
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error" | |
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" | |
linux_nightly_main_enabled: false | |
integration-test: | |
name: Integration test | |
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main | |
with: | |
name: "Integration test" | |
matrix_linux_command: "apt-get update -yq && apt-get install -yq jq && ./scripts/run-integration-test.sh" | |
matrix_linux_5_8_enabled: false | |
matrix_linux_nightly_main_enabled: false | |
swift-6-language-mode: | |
name: Swift 6 Language Mode | |
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main | |
if: false # Disabled for now. |