From 0fe92299d33cd2d318ca3f77e3221e7b535391d1 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Tue, 4 Mar 2025 23:49:41 -0800 Subject: [PATCH 1/2] [CI] Add support for GitHub Actions --- .github/workflows/pull_request.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 00000000000..19a0a1c14f2 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,15 @@ +name: Pull request + +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + tests: + name: Test + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + soundness: + name: Soundness + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main + with: + license_header_check_project_name: "Swift.org" From 4866c81e275541dcd41db73f624461183f1f294d Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Wed, 5 Mar 2025 14:59:25 -0800 Subject: [PATCH 2/2] Disable CI tests that are currently failing I will work on enabling them in the next couple of days in follow-up PRs. --- .github/workflows/pull_request.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 19a0a1c14f2..72267a9bbe7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,8 +8,23 @@ jobs: tests: name: Test uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + with: + # https://github.com/swiftlang/swift-syntax/issues/2992 + enable_windows_checks: false soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main with: license_header_check_project_name: "Swift.org" + # https://github.com/swiftlang/swift-syntax/issues/2986 + api_breakage_check_enabled: false + # https://github.com/swiftlang/swift-syntax/issues/2987 + docs_check_enabled: false + # https://github.com/swiftlang/swift-syntax/issues/2988 + format_check_enabled: false + # https://github.com/swiftlang/swift-syntax/issues/2989 + license_header_check_enabled: false + # https://github.com/swiftlang/swift-syntax/issues/2990 + unacceptable_language_check_enabled: false + # https://github.com/swiftlang/swift-syntax/issues/2991 + yamllint_check_enabled: false