Update sbt-scalafmt to 2.6.2 - #655
Merged
Merged
Conversation
xerial
added a commit
that referenced
this pull request
Jul 20, 2026
…t job (#657) ## Why The scalafmt 3.11.4 / sbt-scalafmt 2.6.2 bumps (#654, #655) auto-merged and left main red: the `sbt-uni-crossproject scripted test` job failed because `CrossProjectMacro.scala` was no longer formatted per the new scalafmt version. Root cause: the plugin sub-builds (`sbt-uni`, `sbt-uni-playwright`, `sbt-uni-crossproject`) have their own `.scalafmt.conf` that the root `./sbt scalafmtCheckAll` never sees. Their formatting is only checked inside the scripted-test jobs, which are **not** required status checks — so a failing format check there can't block auto-merge. ## What - Run `scalafmtCheckAll` for each plugin sub-build inside the `Code format` job, which **is** a required status check, so format drift in the sub-builds now blocks merge. - Reformat `CrossProjectMacro.scala` for scalafmt 3.11.4 to turn main green again. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XinmPeK4Mmcwzvu5ViJoHY Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About this PR
📦 Updates org.scalameta:sbt-scalafmt from
2.6.1to2.6.2📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conffile.Have a fantastic day writing Scala!
⚙ Adjust future updates
Add this to your
.scala-steward.conffile to ignore future updates of this dependency:Or, add this to slow down future updates of this dependency: