mirror of
https://github.com/apple/swift-nio
synced 2026-11-22 04:30:41 +00:00
* Apply formatting
* Apply no block comments rule
* Apply OmitExplicitReturns
* Apple OnlyOneTrailingClosureArgument
* Apply NoAssignmentInExpressions
* Fix up DontRepeatTypeInStaticProperties lint errors
* Apply `OrderedImports`
* Apply `ReplaceForEachWithForLoop`
* format file
* Enable the formatting pipeline
* Adopt `AmbiguousTrailingClosureOverload`
* Fix license header
* Fix format check
* Fix `EndOfLineComment`
* Fix CI
* Adapt CI script to check if changes when running formatting
* Separate lint and format into to steps
* Fix format
* Adopt `UseEarlyExits`
* Revert "Adopt `UseEarlyExits`"
This reverts commit d1ac5bbe12.
44 lines
1.8 KiB
YAML
44 lines
1.8 KiB
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
call-pull-request-soundness-workflow:
|
|
name: Soundness
|
|
uses: ./.github/workflows/pull_request_soundness.yml
|
|
with:
|
|
license_header_check_project_name: "SwiftNIO"
|
|
|
|
call-pull-request-unit-tests-workflow:
|
|
name: Unit tests
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Unit tests"
|
|
matrix_linux_command: "swift test -Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
|
# Disable warnings as errors: Swift 6 emits sendability warnings that haven't been dealt with yet.
|
|
matrix_linux_nightly_main_command_override: "swift test --explicit-target-dependency-import-check error"
|
|
matrix_linux_nightly_6_0_command_override: "swift test --explicit-target-dependency-import-check error"
|
|
|
|
call-pull-request-benchmark-workflow:
|
|
name: Benchmarks
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Benchmarks"
|
|
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q libjemalloc-dev && swift package --package-path Benchmarks/ --disable-sandbox benchmark baseline check --check-absolute-path Benchmarks/Thresholds/${SWIFT_VERSION}/"
|
|
|
|
call-pull-request-cxx-interop-workflow:
|
|
name: Cxx interop
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Cxx interop"
|
|
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q jq && ./scripts/check-cxx-interop-compatibility.sh"
|
|
|
|
call-pull-request-integration-tests-workflow:
|
|
name: Integration tests
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Integration tests"
|
|
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q lsof dnsutils netcat-openbsd net-tools curl jq && ./scripts/integration_tests.sh"
|