Skip to content

Commit 5a4ef26

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 5a4ef26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
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

0 commit comments

Comments
 (0)