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