Skip to content

Commit

Permalink
chore: upgrade swiftformat to 0.54.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jokerttu committed Oct 30, 2024
1 parent 76dfefe commit 5375957
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
key: ${{ runner.os }}-linuxbrew
- name: Setup homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install swiftformat
- name: Install swiftformat 0.54.6
if: steps.cache.outputs.cache-hit != 'true'
run: |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/86f85aaa82beba49f8a5aabf3a22508c9249f188/Formula/s/swiftformat.rb
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/4564fbc21a326c4eb349327ce327cbe983bf302a/Formula/s/swiftformat.rb
echo 'brew "swiftformat.rb"' > Brewfile
brew bundle
- name: Save Cache
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ _See also: [Flutter's code of conduct](https://flutter.io/design-principles/#cod
- **Code Formatting:** [`swiftformat`](https://github.com/nicklockwood/SwiftFormat) (available via brew on macOS, on Windows install Swift toolchain and build SwiftFormat from git sources).

### 1.1. Installing swiftformat
The CI is locked to swiftformat 0.53 version which you can install with the command below:
The CI is locked to swiftformat 0.54.6 version which you can install with the command below:
```bash
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/86f85aaa82beba49f8a5aabf3a22508c9249f188/Formula/s/swiftformat.rb
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/4564fbc21a326c4eb349327ce327cbe983bf302a/Formula/s/swiftformat.rb
brew install swiftformat.rb
```

Expand Down

0 comments on commit 5375957

Please sign in to comment.