Skip to content

Commit

Permalink
🔄 synced file(s) with Nef10/common-swift-package
Browse files Browse the repository at this point in the history
  • Loading branch information
file-sync-app[bot] authored Dec 20, 2024
1 parent 917c39b commit d2e1af5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swift-dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Updated for 0.53.0
# Updated for 0.57.0

excluded:
- ".build"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d2e1af5

Please sign in to comment.