Skip to content

Commit 5e4e6a9

Browse files
authored
chore: update message to install pinned version (#219)
Co-authored-by: FL33TW00D <[email protected]>
1 parent ae0ead8 commit 5e4e6a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)