From 156b0173c6de9449c06461b9b8b3c7b8a2a867ae Mon Sep 17 00:00:00 2001 From: Yuuya Ono Date: Fri, 4 Oct 2024 19:56:25 +0900 Subject: [PATCH] Resolve CI errors --- .github/workflows/ci.yml | 4 ++-- .swiftlint.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f082630..91b58a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,13 @@ jobs: - name: Run Tests with Xcode run: | DESTINATION="platform=iOS Simulator,name=iPhone 8" SCHEME="Puree" - xcodebuild test -project Puree.xcodeproj -scheme "${SCHEME}" -destination "${DESTINATION}" + xcodebuild test -project Puree.xcodeproj -scheme "${SCHEME}" -destination "${DESTINATION}" -configuration Debug CODE_SIGNING_ALLOWED=NO SwiftPM: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Run Tests with Swift Package Manager - run: swift test -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.12" + run: swift test SwiftLint: runs-on: ubuntu-latest steps: diff --git a/.swiftlint.yml b/.swiftlint.yml index c403c46..86804a3 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -4,5 +4,6 @@ included: disabled_rules: - line_length - file_length + - non_optional_string_data_conversion trailing_comma: mandatory_comma: true