Skip to content

Commit 1212235

Browse files
Update SwiftFormat minimum version and output version in CI (#33)
1 parent 7e84074 commit 1212235

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ jobs:
2525
xcode-version: latest
2626

2727
- name: Install Brewfile dependencies
28-
run: brew bundle install
28+
run: |
29+
brew update --quiet
30+
brew bundle install
2931
3032
- name: Run SwiftFormat in lint mode
31-
run: swiftformat --lint .
33+
run: |
34+
swiftformat --version
35+
swiftformat --lint .
3236
3337
- name: Install package dependencies
3438
run: swift package resolve

.swiftformat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--swiftversion 6.0
33

44
# SwiftFormat Version
5-
--minversion 0.55.3
5+
--minversion 0.56.2
66

77
# Options
88

@@ -478,4 +478,4 @@
478478
## Prefer constant values to be on the right-hand-side of expressions.
479479
### Options:
480480
### --yodaswap (default: always)
481-
--rules yodaConditions
481+
--rules yodaConditions

0 commit comments

Comments
 (0)