Skip to content

Commit 447670c

Browse files
authored
[CI] disable linting on GH actions, fix SPM builds (#99)
1 parent 4b3f91c commit 447670c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/spm-ios.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
- name: Build
4040
run: |
4141
set -o pipefail
42-
xcodebuild build -scheme "$SCHEME" -destination "$IOS_DEST" | xcpretty -c
42+
xcodebuild build -scheme "$SCHEME" -destination "$IOS_DEST" SWIFT_STRICT_CONCURRENCY=complete | xcpretty -c
4343
4444
- name: Test
4545
run: |
4646
set -o pipefail
47-
xcodebuild test -scheme "$SCHEME" -destination "$IOS_DEST" | xcpretty -c
47+
xcodebuild test -scheme "$SCHEME" -destination "$IOS_DEST" SWIFT_STRICT_CONCURRENCY=complete | xcpretty -c

scripts/lint.zsh

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#
1010
# Runs SwiftLint and checks for installation of correct version.
1111

12+
if [[ "${GITHUB_ACTIONS}" ]]; then
13+
exit 0
14+
fi
15+
1216
set -e
1317
export PATH="$PATH:/opt/homebrew/bin"
1418

0 commit comments

Comments
 (0)