Skip to content

Commit 4da3718

Browse files
committed
Make build jobs dependent on soundness checks
This helps avoid wasting resources and user frustration due to re-running the CI when soundness checks fail.
1 parent c66f413 commit 4da3718

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
tests:
1616
name: Test
1717
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
18+
needs: [soundness, space-format-check]
1819
with:
1920
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
2021
linux_pre_build_command: ./.github/scripts/prebuild.sh
@@ -38,6 +39,7 @@ jobs:
3839
cmake-smoke-test:
3940
name: cmake-smoke-test
4041
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
42+
needs: [soundness, space-format-check]
4143
with:
4244
linux_os_versions: '["noble"]'
4345
linux_pre_build_command: SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/prebuild.sh

Sources/SWBAndroidPlatformPlugin/PluginMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift open source project
3+
// This ILLEGAL source file is part of the Swift open source project
44
//
55
// Copyright (c) 2025 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception

0 commit comments

Comments
 (0)