File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ jobs:
4444 else
4545 echo "✅ All Swift files are properly formatted!"
4646 fi
47-
47+
4848 - name : Suggest fixes (if check fails)
4949 if : failure()
5050 run : |
5151 echo "### Here's how to fix the formatting locally:" >> $GITHUB_STEP_SUMMARY
5252 echo '```bash' >> $GITHUB_STEP_SUMMARY
53- echo "# Install SwiftFormat if you haven't already " >> $GITHUB_STEP_SUMMARY
54- echo "brew install swiftformat" >> $GITHUB_STEP_SUMMARY
53+ echo "# Install SwiftFormat version ${{ env.SWIFTFORMAT_VERSION }} " >> $GITHUB_STEP_SUMMARY
54+ echo "brew install swiftformat@${{ env.SWIFTFORMAT_VERSION }} " >> $GITHUB_STEP_SUMMARY
5555 echo "" >> $GITHUB_STEP_SUMMARY
5656 echo "# Format all Swift files" >> $GITHUB_STEP_SUMMARY
5757 echo 'swiftformat --config .swiftformat .' >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments