From 00ffa206a0025d12ab3332d0cf0b8d2ff11c2801 Mon Sep 17 00:00:00 2001 From: "file-sync-app[bot]" <89714990+file-sync-app[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 07:37:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20Nef10/?= =?UTF-8?q?common-swift-package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- .github/workflows/swift-dependency-updater.yml | 2 +- .swiftlint.yml | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e9101f..2051b59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Install Swift - uses: swift-actions/setup-swift@v1.26.0 + uses: swift-actions/setup-swift@v2.1.0 - name: Run tests run: swift test --enable-code-coverage -Xswiftc -warnings-as-errors - name: Save PR number @@ -82,10 +82,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Install Swift - uses: swift-actions/setup-swift@v1.26.0 + uses: swift-actions/setup-swift@v2.1.0 - name: Install SwiftLint run: | - curl -L https://github.com/realm/SwiftLint/releases/download/0.54.0/swiftlint_linux.zip -o swiftlint.zip + curl -L https://github.com/realm/SwiftLint/releases/download/0.57.0/swiftlint_linux.zip -o swiftlint.zip unzip swiftlint.zip -d swiftlint ./swiftlint/swiftlint --version - name: Run SwiftLint diff --git a/.github/workflows/swift-dependency-updater.yml b/.github/workflows/swift-dependency-updater.yml index 48737a9..0fa516f 100644 --- a/.github/workflows/swift-dependency-updater.yml +++ b/.github/workflows/swift-dependency-updater.yml @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 # Fetching the whole repo is required to check if branches already exist token: ${{ steps.generate_token.outputs.token }} # Checkout repo pre-configured with right token - name: Install Swift - uses: swift-actions/setup-swift@v1.26.0 + uses: swift-actions/setup-swift@v2.1.0 - name: Checkout swift-dependency-updater uses: actions/checkout@v4 with: diff --git a/.swiftlint.yml b/.swiftlint.yml index 534b666..3e41077 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,4 +1,4 @@ -# Updated for 0.53.0 +# Updated for 0.57.0 excluded: - ".build" @@ -103,6 +103,10 @@ opt_in_rules: - redundant_self_in_closure - unhandled_throwing_task - private_swiftui_state + - final_test_case + - prefer_key_path + - no_empty_block + - unused_parameter disabled_rules: - trailing_comma