Skip to content

Update SwiftFormat minimum version and output version in CI #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

nolinmcfarland
Copy link
Contributor

📝 Summary

  • Updated the SwiftFormat minimum version to 0.56.2
  • Modified the CI workflow to output swiftformat --version before running SwiftFormat
  • Modified the CI workflow to run brew update --quiet before installing the bundle.

Adding the version output to the CI workflow helps verify which version of SwiftFormat is being used during CI runs, aiding in debugging.

🛠️ Type of Change

  • Bug fix (change that fixes an issue)
  • New feature (change that adds functionality)
  • Breaking change (bug fix or feature that is not backwards compatible)
  • Documentation (DocC, API docs, markdown files, templates, etc.)
  • Testing (new tests, updated tests, etc.)
  • Refactoring or code formatting (no logic changes)
  • Updating dependencies (Swift packages, Homebrew, etc.)
  • CI/CD (change to automated workflows)

🧪 How Has This Been Tested?

I've verified SwiftFormat 0.56.2 is installed when running brew bundle install.

✅ Checklist

  • I have added relevant tests
  • I have verified all tests pass
  • I have formatted my code using SwiftFormat
  • I have updated documentation (if needed)
  • I have added the appropriate label to my PR
  • I have read the contributing guidelines
  • I agree to follow this project's Code of Conduct

@nolinmcfarland nolinmcfarland self-assigned this May 30, 2025
@nolinmcfarland nolinmcfarland added ci/cd Changes to CI/CD workflows dependencies Updates to dependencies labels May 30, 2025
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.69%. Comparing base (74be539) to head (01aba59).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #72   +/-   ##
=======================================
  Coverage   88.69%   88.69%           
=======================================
  Files          24       24           
  Lines         292      292           
=======================================
  Hits          259      259           
  Misses         33       33           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nolinmcfarland nolinmcfarland enabled auto-merge (squash) May 30, 2025 19:48
@nolinmcfarland nolinmcfarland merged commit f130683 into main Jun 2, 2025
9 checks passed
@nolinmcfarland nolinmcfarland deleted the ci/output-swiftformat-version branch June 2, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Changes to CI/CD workflows dependencies Updates to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants