From 5375957be851ab03f086dbf1bcf900dc47cc6466 Mon Sep 17 00:00:00 2001 From: Joonas Kerttula Date: Wed, 30 Oct 2024 15:11:06 +0200 Subject: [PATCH] chore: upgrade swiftformat to 0.54.6 --- .github/workflows/analyze.yaml | 4 ++-- CONTRIBUTING.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index e6ede0e..a6e3374 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2009f6c..68a5816 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 ```