Skip to content

Commit 5177bf2

Browse files
committed
Pass --explicit-target-dependency-import-check error when building swift-syntax
This should catch missing imports such as #3195
1 parent d7cde2f commit 5177bf2

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
@@ -19,6 +19,8 @@ jobs:
1919
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
2020
with:
2121
enable_wasm_sdk_build: true
22+
linux_build_command: "swift test --explicit-target-dependency-import-check error"
23+
windows_build_command: "Invoke-Program swift test --explicit-target-dependency-import-check error"
2224
soundness:
2325
name: Soundness
2426
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main

0 commit comments

Comments
 (0)