Skip to content

Commit 5f50869

Browse files
committed
Make pipeline to fail in case of true positives
1 parent 682cffd commit 5f50869

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/swift-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ jobs:
3232
with:
3333
xcode-version: '${{ matrix.ios.xcode }}'
3434
- name: Build and Test (iOS ${{ matrix.ios.version }})
35-
run: xcodebuild build -scheme GreedyKit -destination 'platform=iOS Simulator,OS=${{ matrix.ios.version }},name=${{ matrix.ios.device }}' test | xcbeautify
35+
run: |
36+
set -o pipefail
37+
xcodebuild build -scheme GreedyKit -destination 'platform=iOS Simulator,OS=${{ matrix.ios.version }},name=${{ matrix.ios.device }}' test | xcbeautify

0 commit comments

Comments
 (0)